10 #if !defined(KRATOS_DISCRETE_ELEMENT_H_INCLUDED )
11 #define KRATOS_DISCRETE_ELEMENT_H_INCLUDED
61 virtual std::string
Info()
const override {
62 std::stringstream buffer;
63 buffer <<
"Discrete Element #" << Id();
68 virtual void PrintInfo(std::ostream& rOStream)
const override { rOStream <<
"Discrete Element #" << Id();}
80 virtual void save(
Serializer& rSerializer)
const override {
101 rOStream << std::endl;
Definition: discrete_element.h:38
DiscreteElement & operator=(const DiscreteElement &rOther)
Definition: discrete_element.h:52
virtual ~DiscreteElement()
Destructor.
Definition: discrete_element.h:49
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(DiscreteElement)
virtual void InitializeSolutionStep(const ProcessInfo &r_process_info) override
Definition: discrete_element.h:57
DiscreteElement(IndexType NewId, const NodesArrayType &ThisNodes)
Definition: discrete_element.h:42
DiscreteElement(DiscreteElement const &rOther)
Copy constructor.
Definition: discrete_element.h:46
virtual void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: discrete_element.h:68
DiscreteElement(IndexType NewId, GeometryType::Pointer pGeometry)
Definition: discrete_element.h:43
virtual void FinalizeSolutionStep(const ProcessInfo &r_process_info) override
Definition: discrete_element.h:59
DiscreteElement(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Definition: discrete_element.h:44
DiscreteElement(IndexType NewId=0)
Definition: discrete_element.h:41
virtual std::string Info() const override
Turn back information as a string.
Definition: discrete_element.h:61
Base class for all Elements.
Definition: element.h:60
Element & operator=(Element const &rOther)
Assignment operator.
Definition: element.h:179
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: element.h:1135
std::size_t IndexType
Definition: flags.h:74
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
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
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