60 template< SizeType TDim, SizeType TNumNodes,
bool TNormalVariation, const SizeType TNumNodesMaster = TNumNodes >
62 :
public MortarContactCondition<TDim, TNumNodes, FrictionalCase::FRICTIONLESS_PENALTY, TNormalVariation, TNumNodesMaster>
81 using AeData =
typename BaseType::AeData;
146 static constexpr
IndexType MatrixSize = TDim * (TNumNodes + TNumNodesMaster);
171 ):
BaseType( NewId, pGeometry, pProperties )
180 GeometryType::Pointer pMasterGeometry
181 ):
BaseType( NewId, pGeometry, pProperties, pMasterGeometry )
209 Condition::Pointer
Create(
222 Condition::Pointer
Create(
253 void AddExplicitContribution(
const ProcessInfo& rCurrentProcessInfo)
override;
264 void AddExplicitContribution(
316 void EquationIdVector(
338 int Check(
const ProcessInfo& rCurrentProcessInfo)
const override;
353 std::string
Info()
const override
355 std::stringstream buffer;
356 buffer <<
"PenaltyMethodFrictionlessMortarContactCondition #" << this->Id();
363 rOStream <<
"PenaltyMethodFrictionlessMortarContactCondition #" << this->Id();
370 this->GetParentGeometry().PrintData(rOStream);
371 this->GetPairedGeometry().PrintData(rOStream);
422 void CalculateLocalRHS(
442 for (
IndexType i_node = 0; i_node < TNumNodes; ++i_node)
443 if (rCurrentGeometry[i_node].Is(ACTIVE) ==
true)
444 value += 1 << i_node;
494 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
std::vector< DofType::Pointer > DofsVectorType
Definition: condition.h:100
This defines the geometrical object, base definition of the element and condition entities.
Definition: geometrical_object.h:58
Geometry base class.
Definition: geometry.h:71
std::vector< IntegrationPointType > IntegrationPointsArrayType
Definition: geometry.h:161
This is a base class for the conditions paired.
Definition: paired_condition.h:53
BaseType::GeometryType::Pointer GeometryPointerType
Geometry pointer type definition.
Definition: paired_condition.h:83
BaseType::PropertiesType::Pointer PropertiesPointerType
Properties pointer type definition.
Definition: paired_condition.h:89
Point class.
Definition: point.h:59
PointerVector is a container like stl vector but using a vector to store pointers to its data.
Definition: pointer_vector.h:72
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
Properties encapsulates data shared by different Elements or Conditions. It can store any type of dat...
Definition: properties.h:69
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
std::size_t IndexType
Definition: binary_expression.cpp:25
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
Properties PropertiesType
Definition: regenerate_pfem_pressure_conditions_process.h:26
std::size_t SizeType
The definition of the size type.
Definition: mortar_classes.h:43
ModelPart::NodesContainerType NodesArrayType
Definition: gid_gauss_point_container.h:42
def load(f)
Definition: ode_solve.py:307