107 GeometryType::Pointer pGeometry
118 GeometryType::Pointer pGeometry,
119 PropertiesType::Pointer pProperties
146 Condition::Pointer
Create(
149 PropertiesType::Pointer pProperties
159 Condition::Pointer
Create(
161 GeometryType::Pointer pGeom,
162 PropertiesType::Pointer pProperties
172 Condition::Pointer
Clone (
234 std::string
Info()
const override
236 std::stringstream buffer;
237 buffer <<
"Geometrical Condition #" <<
Id();
245 rOStream <<
"Geometrical Condition #" <<
Id();
262 void save(
Serializer& rSerializer)
const override;
Base class for all Conditions.
Definition: condition.h:59
std::size_t SizeType
Definition: condition.h:94
std::size_t IndexType
Definition: condition.h:92
GeometryType::Pointer pGetGeometry()
Returns the pointer to the geometry.
Definition: geometrical_object.h:140
Geometry base class.
Definition: geometry.h:71
IndexType Id() const
Definition: indexed_object.h:107
This is pure geometric condition. The only purpose for this definition is to create dummy conditions.
Definition: mesh_condition.h:47
MeshCondition & operator=(MeshCondition const &rOther)
Assignment operator.
Definition: mesh_condition.cpp:76
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(MeshCondition)
Counted pointer of MeshCondition.
MeshCondition(IndexType NewId=0)
Constructor.
Definition: mesh_condition.cpp:22
Condition::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, PropertiesType::Pointer pProperties) const override
Creates a new condition pointer.
Definition: mesh_condition.cpp:88
Condition BaseType
We define the base class Condition.
Definition: mesh_condition.h:54
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: mesh_condition.h:249
void AddExplicitContribution(const VectorType &rRHSVector, const Variable< VectorType > &rRHSVariable, const Variable< double > &rDestinationVariable, const ProcessInfo &rCurrentProcessInfo) override
This function is designed to make the element to assemble an rRHS vector identified by a variable rRH...
Definition: mesh_condition.cpp:134
BaseType::NodeType NodeType
Definition of the node type.
Definition: mesh_condition.h:63
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: mesh_condition.h:243
const Parameters GetSpecifications() const override
This method provides the specifications/requirements of the element.
Definition: mesh_condition.cpp:170
BaseType::NodesArrayType NodesArrayType
Definition of nodes container type, redefined from GeometryType.
Definition: mesh_condition.h:72
BaseType::SizeType SizeType
Definition of the size type.
Definition: mesh_condition.h:60
BaseType::GeometryType GeometryType
Definition of the geometry type with given NodeType.
Definition: mesh_condition.h:69
std::string Info() const override
Turn back information as a string.
Definition: mesh_condition.h:234
~MeshCondition() override
Destructor.
Definition: mesh_condition.cpp:69
Condition::Pointer Clone(IndexType NewId, NodesArrayType const &ThisNodes) const override
Creates a new condition pointer and clones the previous condition data.
Definition: mesh_condition.cpp:116
BaseType::IndexType IndexType
Dfinition of the index type.
Definition: mesh_condition.h:57
BaseType::PropertiesType PropertiesType
Definition of the properties type.
Definition: mesh_condition.h:66
This class defines the node.
Definition: node.h:65
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.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
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307