16 #if !defined(KRATOS_GEOMETRY_DIMENSION_H_INCLUDED )
17 #define KRATOS_GEOMETRY_DIMENSION_H_INCLUDED
74 : mWorkingSpaceDimension( ThisWorkingSpaceDimension )
75 , mLocalSpaceDimension( ThisLocalSpaceDimension )
83 : mWorkingSpaceDimension( rOther.mWorkingSpaceDimension )
84 , mLocalSpaceDimension( rOther.mLocalSpaceDimension )
97 mWorkingSpaceDimension = rOther.mWorkingSpaceDimension;
98 mLocalSpaceDimension = rOther.mLocalSpaceDimension;
117 return mWorkingSpaceDimension;
130 return mLocalSpaceDimension;
138 virtual std::string
Info()
const
140 return "geometry dimension";
146 rOStream <<
"geometry dimension";
152 rOStream <<
" Working space dimension : " << mWorkingSpaceDimension << std::endl;
153 rOStream <<
" Local space dimension : " << mLocalSpaceDimension;
172 virtual void save(
Serializer& rSerializer )
const
174 rSerializer.
save(
"WorkingSpaceDimension", mWorkingSpaceDimension );
175 rSerializer.
save(
"LocalSpaceDimension", mLocalSpaceDimension );
180 rSerializer.
load(
"WorkingSpaceDimension", mWorkingSpaceDimension );
181 rSerializer.
load(
"LocalSpaceDimension", mLocalSpaceDimension );
206 rOStream << std::endl;
Definition: geometry_dimension.h:42
SizeType LocalSpaceDimension() const
Definition: geometry_dimension.h:128
virtual std::string Info() const
Turn back information as a string.
Definition: geometry_dimension.h:138
KRATOS_CLASS_POINTER_DEFINITION(GeometryDimension)
Pointer definition of GeometryDimension.
std::size_t IndexType
Definition: geometry_dimension.h:51
GeometryDimension(SizeType ThisWorkingSpaceDimension, SizeType ThisLocalSpaceDimension)
Definition: geometry_dimension.h:71
SizeType WorkingSpaceDimension() const
Definition: geometry_dimension.h:115
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: geometry_dimension.h:144
GeometryDimension & operator=(const GeometryDimension &rOther)
Definition: geometry_dimension.h:95
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: geometry_dimension.h:150
GeometryDimension(const GeometryDimension &rOther)
Definition: geometry_dimension.h:82
std::size_t SizeType
Definition: geometry_dimension.h:52
virtual ~GeometryDimension()
Destructor. Do nothing!!!
Definition: geometry_dimension.h:89
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
void load(std::string const &rTag, TDataType &rObject)
Definition: serializer.h:207
void save(std::string const &rTag, std::array< TDataType, TDataSize > const &rObject)
Definition: serializer.h:545
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::size_t SizeType
The definition of the size type.
Definition: mortar_classes.h:43
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432
def load(f)
Definition: ode_solve.py:307