14 #if !defined(KRATOS_GEOMETRY_DATA_H_INCLUDED )
15 #define KRATOS_GEOMETRY_DATA_H_INCLUDED
290 : mpGeometryDimension(pThisGeometryDimension)
291 , mGeometryShapeFunctionContainer(
293 ThisIntegrationPoints,
294 ThisShapeFunctionsValues,
295 ThisShapeFunctionsLocalGradients)
308 : mpGeometryDimension(pThisGeometryDimension)
309 , mGeometryShapeFunctionContainer(
310 ThisGeometryShapeFunctionContainer)
316 : mpGeometryDimension( rOther.mpGeometryDimension)
317 , mGeometryShapeFunctionContainer( rOther.mGeometryShapeFunctionContainer)
331 mpGeometryDimension = rOther.mpGeometryDimension;
332 mGeometryShapeFunctionContainer = rOther.mGeometryShapeFunctionContainer;
343 mpGeometryDimension = pGeometryDimension;
354 mGeometryShapeFunctionContainer = rGeometryShapeFunctionContainer;
360 return mGeometryShapeFunctionContainer;
553 IntegrationPointIndex,
585 IntegrationPointIndex, ShapeFunctionIndex, ThisMethod );
711 DerivativeOrderIndex, IntegrationPointIndex, ThisMethod);
719 virtual std::string
Info()
const
721 return "geometry data";
727 rOStream <<
"geometry data";
733 rOStream <<
" Working space dimension : " << mpGeometryDimension->
WorkingSpaceDimension() << std::endl;
754 virtual void save(
Serializer& rSerializer )
const
756 rSerializer.
save(
"GeometryDimension", mpGeometryDimension);
757 rSerializer.
save(
"GeometryShapeFunctionContainer", mGeometryShapeFunctionContainer);
763 rSerializer.
load(
"GeometryShapeFunctionContainer", mGeometryShapeFunctionContainer);
795 rOStream << std::endl;
Definition: geometry_data.h:60
GeometryShapeFunctionContainer< IntegrationMethod >::ShapeFunctionsLocalGradientsContainerType ShapeFunctionsLocalGradientsContainerType
Definition: geometry_data.h:202
const ShapeFunctionsGradientsType & ShapeFunctionsLocalGradients() const
Definition: geometry_data.h:607
double ShapeFunctionValue(IndexType IntegrationPointIndex, IndexType ShapeFunctionIndex) const
Definition: geometry_data.h:550
IntegrationPoint< 3 > IntegrationPointType
Definition: geometry_data.h:179
const Matrix & ShapeFunctionLocalGradient(IndexType IntegrationPointIndex) const
Definition: geometry_data.h:660
const Matrix & ShapeFunctionLocalGradient(IndexType IntegrationPointIndex, IndexType ShapeFunctionIndex, IntegrationMethod ThisMethod) const
Definition: geometry_data.h:693
KratosGeometryType
Definition: geometry_data.h:110
@ Kratos_Surface_In_Nurbs_Volume
@ Kratos_Quadrilateral2D8
@ Kratos_Coupling_Geometry
@ Kratos_Quadrature_Point_Curve_On_Surface_Geometry
@ Kratos_Quadrilateral3D8
@ Kratos_Quadrature_Point_Surface_In_Volume_Geometry
@ Kratos_Nurbs_Curve_On_Surface
@ Kratos_Quadrilateral2D9
@ Kratos_Quadrilateral3D4
@ Kratos_Brep_Curve_On_Surface
@ Kratos_Quadrature_Point_Geometry
@ Kratos_Quadrilateral3D9
@ Kratos_Quadrilateral2D4
SizeType IntegrationPointsNumber(IntegrationMethod ThisMethod) const
Definition: geometry_data.h:443
GeometryShapeFunctionContainer< IntegrationMethod >::IntegrationPointsContainerType IntegrationPointsContainerType
Definition: geometry_data.h:192
const ShapeFunctionsGradientsType & ShapeFunctionsLocalGradients(IntegrationMethod ThisMethod) const
Definition: geometry_data.h:633
SizeType LocalSpaceDimension() const
Definition: geometry_data.h:387
void SetGeometryShapeFunctionContainer(const GeometryShapeFunctionContainer< IntegrationMethod > &rGeometryShapeFunctionContainer)
SetGeometryShapeFunctionContainer updates the GeometryShapeFunctionContainer.
Definition: geometry_data.h:351
SizeType IntegrationPointsNumber() const
Definition: geometry_data.h:430
GeometryShapeFunctionContainer< IntegrationMethod >::ShapeFunctionsValuesContainerType ShapeFunctionsValuesContainerType
Definition: geometry_data.h:197
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: geometry_data.h:725
IntegrationMethod
Definition: geometry_data.h:76
@ NumberOfIntegrationMethods
bool HasIntegrationMethod(IntegrationMethod ThisMethod) const
Definition: geometry_data.h:407
const Matrix & ShapeFunctionLocalGradient(IndexType IntegrationPointIndex, IntegrationMethod ThisMethod) const
Definition: geometry_data.h:688
SizeType WorkingSpaceDimension() const
Definition: geometry_data.h:374
const GeometryShapeFunctionContainer< IntegrationMethod > & GetGeometryShapeFunctionContainer() const
Returns the GeometryShapeFunctionContainer.
Definition: geometry_data.h:358
DenseVector< DenseVector< Matrix > > ShapeFunctionsThirdDerivativesType
Definition: geometry_data.h:216
const Matrix & ShapeFunctionsValues() const
Definition: geometry_data.h:497
void SetGeometryDimension(GeometryDimension const *pGeometryDimension)
Definition: geometry_data.h:341
DenseVector< Matrix > ShapeFunctionsGradientsType
Definition: geometry_data.h:208
std::size_t SizeType
Definition: geometry_data.h:173
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: geometry_data.h:731
virtual std::string Info() const
Turn back information as a string.
Definition: geometry_data.h:719
GeometryShapeFunctionContainer< IntegrationMethod >::IntegrationPointsArrayType IntegrationPointsArrayType
Definition: geometry_data.h:186
const Matrix & ShapeFunctionsValues(IntegrationMethod ThisMethod) const
Definition: geometry_data.h:522
GeometryData(GeometryDimension const *pThisGeometryDimension, IntegrationMethod ThisDefaultMethod, const IntegrationPointsContainerType &ThisIntegrationPoints, const ShapeFunctionsValuesContainerType &ThisShapeFunctionsValues, const ShapeFunctionsLocalGradientsContainerType &ThisShapeFunctionsLocalGradients)
Definition: geometry_data.h:285
const IntegrationPointsArrayType & IntegrationPoints() const
Definition: geometry_data.h:457
KRATOS_CLASS_POINTER_DEFINITION(GeometryData)
Pointer definition of GeometryData.
KratosGeometryFamily
Definition: geometry_data.h:91
@ NumberOfGeometryFamilies
@ Kratos_Quadrature_Geometry
const IntegrationPointsArrayType & IntegrationPoints(IntegrationMethod ThisMethod) const
Definition: geometry_data.h:470
std::size_t IndexType
Definition: geometry_data.h:167
double ShapeFunctionValue(IndexType IntegrationPointIndex, IndexType ShapeFunctionIndex, IntegrationMethod ThisMethod) const
Definition: geometry_data.h:579
GeometryData & operator=(const GeometryData &rOther)
Assignment operator.
Definition: geometry_data.h:329
const Matrix & ShapeFunctionDerivatives(IndexType DerivativeOrderIndex, IndexType IntegrationPointIndex, IntegrationMethod ThisMethod) const
Definition: geometry_data.h:705
GeometryData(const GeometryData &rOther)
Copy constructor.
Definition: geometry_data.h:315
virtual ~GeometryData()
Destructor.
Definition: geometry_data.h:322
GeometryData(GeometryDimension const *pThisGeometryDimension, const GeometryShapeFunctionContainer< IntegrationMethod > &ThisGeometryShapeFunctionContainer)
Definition: geometry_data.h:306
DenseVector< Matrix > ShapeFunctionsSecondDerivativesType
Definition: geometry_data.h:210
IntegrationMethod DefaultIntegrationMethod() const
Definition: geometry_data.h:425
Definition: geometry_dimension.h:42
SizeType LocalSpaceDimension() const
Definition: geometry_dimension.h:128
SizeType WorkingSpaceDimension() const
Definition: geometry_dimension.h:115
Definition: geometry_shape_function_container.h:60
const Matrix & ShapeFunctionsValues() const
Definition: geometry_shape_function_container.h:245
const IntegrationPointsArrayType & IntegrationPoints() const
Definition: geometry_shape_function_container.h:231
const ShapeFunctionsGradientsType & ShapeFunctionsLocalGradients() const
Definition: geometry_shape_function_container.h:275
SizeType IntegrationPointsNumber() const
Definition: geometry_shape_function_container.h:221
bool HasIntegrationMethod(IntegrationMethod ThisMethod) const
Definition: geometry_shape_function_container.h:212
double ShapeFunctionValue(IndexType IntegrationPointIndex, IndexType ShapeFunctionIndex, IntegrationMethod ThisMethod) const
Definition: geometry_shape_function_container.h:256
IntegrationMethod DefaultIntegrationMethod() const
Definition: geometry_shape_function_container.h:207
const Matrix & ShapeFunctionLocalGradient(IndexType IntegrationPointIndex) const
Definition: geometry_shape_function_container.h:286
const Matrix & ShapeFunctionDerivatives(IndexType DerivativeOrderIndex, IndexType IntegrationPointIndex, IntegrationMethod ThisMethod) const
Definition: geometry_shape_function_container.h:330
Short class definition.
Definition: integration_point.h:52
Definition: amatrix_interface.h:41
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::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