5 #if !defined(KRATOS_CYLINDER_PARTICLE_H_INCLUDED )
6 #define KRATOS_CYLINDER_PARTICLE_H_INCLUDED
19 #include "custom_utilities/AuxiliaryFunctions.h"
45 double CalculateVolume()
override;
46 double CalculateMomentOfInertia()
override;
56 virtual std::string
Info()
const override
58 std::stringstream buffer;
59 buffer <<
"CylinderParticle" ;
64 virtual void PrintInfo(std::ostream& rOStream)
const override {rOStream <<
"CylinderParticle";}
67 virtual void PrintData(std::ostream& rOStream)
const override {}
79 virtual void save(
Serializer& rSerializer)
const override
103 rOStream << std::endl;
Definition: cylinder_particle.h:26
virtual void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: cylinder_particle.h:64
virtual void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: cylinder_particle.h:67
ParticleWeakVectorType::ptr_iterator ParticleWeakIteratorType_ptr
Definition: cylinder_particle.h:32
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(CylinderParticle)
virtual std::string Info() const override
Turn back information as a string.
Definition: cylinder_particle.h:56
GlobalPointersVector< Element >::iterator ParticleWeakIteratorType
Definition: cylinder_particle.h:33
GlobalPointersVector< Element > ParticleWeakVectorType
Definition: cylinder_particle.h:31
std::size_t IndexType
Definition: flags.h:74
typename TContainerType::iterator ptr_iterator
Definition: global_pointers_vector.h:85
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
Definition: spheric_particle.h:31
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
TDataType Calculate(GeometryType &dummy, const Variable< TDataType > &rVariable)
Definition: add_geometries_to_python.cpp:103
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