14 #if !defined(KRATOS_FILE_SERIALIZER_H_INCLUDED )
15 #define KRATOS_FILE_SERIALIZER_H_INCLUDED
42 std::fstream* p_file =
new std::fstream(std::string(Filename+
".rest").c_str(), std::ios::binary|std::ios::in|
std::ios::out);
46 p_file =
new std::fstream(std::string(Filename+
".rest").c_str(), std::ios::binary|
std::ios::out);
50 << std::string(Filename+
".rest") << std::endl;
Definition: file_serializer.h:33
FileSerializer(std::string const &Filename, Serializer::TraceType const &rTrace=SERIALIZER_NO_TRACE)
Definition: file_serializer.h:39
virtual ~FileSerializer()
Definition: file_serializer.h:53
KRATOS_CLASS_POINTER_DEFINITION(FileSerializer)
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
TraceType
Definition: serializer.h:129
@ SERIALIZER_NO_TRACE
Definition: serializer.h:129
BufferType * pGetBuffer()
Definition: serializer.h:903
void SetBuffer(BufferType *pBuffer)
Definition: serializer.h:186
#define KRATOS_ERROR_IF_NOT(conditional)
Definition: exception.h:163
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
out
Definition: isotropic_damage_automatic_differentiation.py:200