5 #if !defined(KRATOS_CYLINDER_CONTINUUM_PARTICLE_H_INCLUDED )
6 #define KRATOS_CYLINDER_CONTINUUM_PARTICLE_H_INCLUDED
15 #include "custom_utilities/AuxiliaryFunctions.h"
40 virtual std::string
Info()
const override
42 std::stringstream buffer;
43 buffer <<
"CylinderContinuumParticle" ;
48 virtual void PrintInfo(std::ostream& rOStream)
const override {rOStream <<
"CylinderContinuumParticle";}
51 virtual void PrintData(std::ostream& rOStream)
const override {}
53 void ContactAreaWeighting()
override;
55 void FinalizeStressTensor(
const ProcessInfo& r_process_info,
double& rRepresentative_Volume)
override;
61 double CalculateVolume()
override;
62 double CalculateMomentOfInertia()
override;
63 void AddContributionToRepresentativeVolume(
const double distance,
const double radius_sum,
const double contact_area)
override ;
69 virtual void save(
Serializer& rSerializer)
const override
91 rOStream << std::endl;
Definition: cylinder_continuum_particle.h:21
ParticleWeakVectorType::ptr_iterator ParticleWeakIteratorType_ptr
Definition: cylinder_continuum_particle.h:27
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(CylinderContinuumParticle)
GlobalPointersVector< Element >::iterator ParticleWeakIteratorType
Definition: cylinder_continuum_particle.h:28
virtual void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: cylinder_continuum_particle.h:51
virtual std::string Info() const override
Turn back information as a string.
Definition: cylinder_continuum_particle.h:40
GlobalPointersVector< Element > ParticleWeakVectorType
Definition: cylinder_continuum_particle.h:26
virtual void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: cylinder_continuum_particle.h:48
Definition: discrete_element.h:38
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_continuum_particle.h:26
#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
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