13 #if !defined(PFEM_FLUID_GID_IO_BASE_H_INCLUDED)
14 #define PFEM_FLUID_GID_IO_BASE_H_INCLUDED
18 #include "gidpost/source/gidpost.h"
26 template <
class TGaussPo
intContainer = G
idGaussPo
intsContainer,
class TMeshContainer = G
idMeshContainer>
54 WriteConditionsFlag write_conditions_flag) :
BaseType(rDatafilename, Mode, use_multiple_files_flag, write_deformed_flag, write_conditions_flag) {}
70 node_iterator != rThisMesh.
NodesEnd();
75 node_iterator->Y0(), node_iterator->Z0());
78 node_iterator->Y(), node_iterator->Z());
80 KRATOS_ERROR <<
"Undefined WriteDeformedMeshFlag" << std::endl;
87 node_iterator != rThisMesh.
NodesEnd();
91 nodes_id[0] = node_iterator->Id();
92 if(node_iterator->Is(FREE_SURFACE)){
94 }
else if(node_iterator->Is(ISOLATED)){
119 rOStream << std::endl;
Base class for all Conditions.
Definition: condition.h:59
Base class for all Elements.
Definition: element.h:60
This class defines an interface to the GiDPost library in order to provide GiD compliant I/O function...
Definition: gid_io.h:112
WriteDeformedMeshFlag mWriteDeformed
Definition: gid_io.h:1517
GiD_FILE mMeshFile
Definition: gid_io.h:1511
void PrintInfo(std::ostream &rOStream) const override
Definition: gid_io.h:547
void PrintData(std::ostream &rOStream) const override
Definition: gid_io.h:555
NodeIterator NodesEnd()
Definition: mesh.h:336
typename NodesContainerType::iterator NodeIterator
Iterator for nodes in the container. Provides direct references to nodes.
Definition: mesh.h:114
NodeIterator NodesBegin()
Definition: mesh.h:326
This class defines the node.
Definition: node.h:65
Definition: pfem_fluid_gid_io.h:28
PfemFluidGidIO(const std::string &rDatafilename, GiD_PostMode Mode, MultiFileFlag use_multiple_files_flag, WriteDeformedMeshFlag write_deformed_flag, WriteConditionsFlag write_conditions_flag)
Flags for mesh writing.
Definition: pfem_fluid_gid_io.h:50
KRATOS_CLASS_POINTER_DEFINITION(PfemFluidGidIO)
pointer definition of PfemFluidGidIO
~PfemFluidGidIO() override
Destructor.
Definition: pfem_fluid_gid_io.h:57
void WriteNodeMesh(MeshType &rThisMesh) override
This method writes the node mesh.
Definition: pfem_fluid_gid_io.h:61
GidIO< TGaussPointContainer, TMeshContainer > BaseType
typedefs
Definition: pfem_fluid_gid_io.h:41
Properties encapsulates data shared by different Elements or Conditions. It can store any type of dat...
Definition: properties.h:69
static void Start(std::string const &rIntervalName)
This method starts the timer meassures.
Definition: timer.cpp:109
static void Stop(std::string const &rIntervalName)
This method stops the timer meassures.
Definition: timer.cpp:125
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
#define KRATOS_ERROR
Definition: exception.h:161
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
WriteDeformedMeshFlag
Flags for mesh writing.
Definition: gid_io.h:52
@ WriteUndeformed
Definition: gid_io.h:52
@ WriteDeformed
Definition: gid_io.h:52
MultiFileFlag
Definition: gid_io.h:54
WriteConditionsFlag
Definition: gid_io.h:53
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432