14 #if !defined(KRATOS_MPM_GRID_BASE_LOAD_CONDITION_3D_H_INCLUDED )
15 #define KRATOS_MPM_GRID_BASE_LOAD_CONDITION_3D_H_INCLUDED
222 KRATOS_ERROR <<
"the conditions only works for 2D and 3D elements";
277 const bool CalculateStiffnessMatrixFlag,
278 const bool CalculateResidualVectorFlag
289 const unsigned int PointNumber,
340 void save(
Serializer& rSerializer )
const override
Base class for all Conditions.
Definition: condition.h:59
std::vector< std::size_t > EquationIdVectorType
Definition: condition.h:98
Matrix MatrixType
Definition: condition.h:90
std::vector< DofType::Pointer > DofsVectorType
Definition: condition.h:100
std::size_t IndexType
Definition: flags.h:74
GeometryType & GetGeometry()
Returns the reference of the geometry.
Definition: geometrical_object.h:158
std::vector< IntegrationPointType > IntegrationPointsArrayType
Definition: geometry.h:161
SizeType WorkingSpaceDimension() const
Definition: geometry.h:1287
Definition: mpm_grid_base_load_condition.h:50
virtual double GetIntegrationWeight(const GeometryType::IntegrationPointsArrayType &IntegrationPoints, const unsigned int PointNumber, const double detJ)
Definition: mpm_grid_base_load_condition.cpp:275
MPMGridBaseLoadCondition(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Definition: mpm_grid_base_load_condition.h:73
~MPMGridBaseLoadCondition() override
Definition: mpm_grid_base_load_condition.h:77
void GetFirstDerivativesVector(Vector &rValues, int Step=0) const override
Definition: mpm_grid_base_load_condition.cpp:132
void CalculateDampingMatrix(MatrixType &rDampingMatrix, const ProcessInfo &rCurrentProcessInfo) override
Definition: mpm_grid_base_load_condition.cpp:228
virtual void CalculateAll(MatrixType &rLeftHandSideMatrix, VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo, const bool CalculateStiffnessMatrixFlag, const bool CalculateResidualVectorFlag)
Definition: mpm_grid_base_load_condition.cpp:242
void GetSecondDerivativesVector(Vector &rValues, int Step=0) const override
Definition: mpm_grid_base_load_condition.cpp:161
MPMGridBaseLoadCondition(IndexType NewId, GeometryType::Pointer pGeometry)
Definition: mpm_grid_base_load_condition.h:69
void GetValuesVector(Vector &rValues, int Step=0) const override
Definition: mpm_grid_base_load_condition.cpp:103
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(MPMGridBaseLoadCondition)
int Check(const ProcessInfo &rCurrentProcessInfo) const override
Definition: mpm_grid_base_load_condition.cpp:255
void CalculateLocalSystem(MatrixType &rLeftHandSideMatrix, VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo) override
Definition: mpm_grid_base_load_condition.cpp:202
unsigned int GetBlockSize()
Definition: mpm_grid_base_load_condition.h:212
void AddExplicitContribution(const VectorType &rRHS, const Variable< VectorType > &rRHSVariable, const Variable< array_1d< double, 3 > > &rDestinationVariable, const ProcessInfo &rCurrentProcessInfo) override
Definition: mpm_grid_base_load_condition.cpp:287
std::size_t SizeType
Definition: mpm_grid_base_load_condition.h:54
MPMGridBaseLoadCondition()
Definition: mpm_grid_base_load_condition.h:65
void CalculateMassMatrix(MatrixType &rMassMatrix, const ProcessInfo &rCurrentProcessInfo) override
Definition: mpm_grid_base_load_condition.cpp:214
void CalculateRightHandSide(VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo) override
Definition: mpm_grid_base_load_condition.cpp:190
void GetDofList(DofsVectorType &ElementalDofList, const ProcessInfo &rCurrentProcessInfo) const override
Definition: mpm_grid_base_load_condition.cpp:67
void EquationIdVector(EquationIdVectorType &rResult, const ProcessInfo &rCurrentProcessInfo) const override
Definition: mpm_grid_base_load_condition.cpp:27
bool HasRotDof()
Definition: mpm_grid_base_load_condition.h:210
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
Variable class contains all information needed to store and retrive data from a data container.
Definition: variable.h:63
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
#define KRATOS_ERROR
Definition: exception.h:161
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
int dimension
Definition: isotropic_damage_automatic_differentiation.py:123
def load(f)
Definition: ode_solve.py:307