KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Public Types | Public Member Functions | List of all members
Kratos::SphericElementGlobalPhysicsCalculator Class Reference

#include <calculate_global_physical_properties.h>

Collaboration diagram for Kratos::SphericElementGlobalPhysicsCalculator:

Public Types

typedef ModelPart::ElementsContainerType ElementsArrayType
 

Public Member Functions

 KRATOS_CLASS_POINTER_DEFINITION (SphericElementGlobalPhysicsCalculator)
 
 SphericElementGlobalPhysicsCalculator (ModelPart &r_model_part)
 Default constructor. More...
 
virtual ~SphericElementGlobalPhysicsCalculator ()
 Destructor. More...
 
double CalculateTotalVolume (ModelPart &r_model_part)
 
double CalculateMaxNodalVariable (ModelPart &r_model_part, const Variable< double > &r_variable)
 
double CalculateMinNodalVariable (ModelPart &r_model_part, const Variable< double > &r_variable)
 
double CalculateD50 (ModelPart &r_model_part)
 
double CalculateTotalMass (ModelPart &r_model_part)
 
array_1d< double, 3 > CalculateCenterOfMass (ModelPart &r_model_part)
 
double CalculateGravitationalPotentialEnergy (ModelPart &r_model_part, const array_1d< double, 3 > reference_point)
 
double CalculateTranslationalKinematicEnergy (ModelPart &r_model_part)
 
double CalculateRotationalKinematicEnergy (ModelPart &r_model_part)
 
double CalculateElasticEnergy (ModelPart &r_model_part)
 
double CalculateInelasticFrictionalEnergy (ModelPart &r_model_part)
 
double CalculateInelasticViscodampingEnergy (ModelPart &r_model_part)
 
double CalculateInelasticRollingResistanceEnergy (ModelPart &r_model_part)
 
array_1d< double, 3 > CalculateTotalMomentum (ModelPart &r_model_part)
 
array_1d< double, 3 > CalulateTotalAngularMomentum (ModelPart &r_model_part)
 
array_1d< double, 3 > CalculateSumOfInternalForces (ModelPart &r_model_part)
 
Access
array_1d< double, 3 > GetInitialCenterOfMass ()
 
Input and output
virtual std::string Info () const
 Turn back information as a stemplate<class T, std::size_t dim> tring. More...
 
virtual void PrintInfo (std::ostream &rOStream) const
 Print information about this object. More...
 
virtual void PrintData (std::ostream &rOStream) const
 Print object's data. More...
 
Friends
std::vector< unsigned int > & GetElementPartition ()
 
ElementsArrayType::iterator GetElementPartitionBegin (ModelPart &r_model_part, unsigned int k)
 
ElementsArrayType::iterator GetElementPartitionEnd (ModelPart &r_model_part, unsigned int k)
 

Protected Attributes

Protected Access
std::vector< unsigned intmElementsPartition
 

Member Typedef Documentation

◆ ElementsArrayType

Constructor & Destructor Documentation

◆ SphericElementGlobalPhysicsCalculator()

Kratos::SphericElementGlobalPhysicsCalculator::SphericElementGlobalPhysicsCalculator ( ModelPart r_model_part)
inline

Default constructor.

◆ ~SphericElementGlobalPhysicsCalculator()

virtual Kratos::SphericElementGlobalPhysicsCalculator::~SphericElementGlobalPhysicsCalculator ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ CalculateCenterOfMass()

array_1d<double, 3> Kratos::SphericElementGlobalPhysicsCalculator::CalculateCenterOfMass ( ModelPart r_model_part)
inline

◆ CalculateD50()

double Kratos::SphericElementGlobalPhysicsCalculator::CalculateD50 ( ModelPart r_model_part)
inline

◆ CalculateElasticEnergy()

double Kratos::SphericElementGlobalPhysicsCalculator::CalculateElasticEnergy ( ModelPart r_model_part)
inline

◆ CalculateGravitationalPotentialEnergy()

double Kratos::SphericElementGlobalPhysicsCalculator::CalculateGravitationalPotentialEnergy ( ModelPart r_model_part,
const array_1d< double, 3 >  reference_point 
)
inline

◆ CalculateInelasticFrictionalEnergy()

double Kratos::SphericElementGlobalPhysicsCalculator::CalculateInelasticFrictionalEnergy ( ModelPart r_model_part)
inline

◆ CalculateInelasticRollingResistanceEnergy()

double Kratos::SphericElementGlobalPhysicsCalculator::CalculateInelasticRollingResistanceEnergy ( ModelPart r_model_part)
inline

◆ CalculateInelasticViscodampingEnergy()

double Kratos::SphericElementGlobalPhysicsCalculator::CalculateInelasticViscodampingEnergy ( ModelPart r_model_part)
inline

◆ CalculateMaxNodalVariable()

double Kratos::SphericElementGlobalPhysicsCalculator::CalculateMaxNodalVariable ( ModelPart r_model_part,
const Variable< double > &  r_variable 
)
inline

◆ CalculateMinNodalVariable()

double Kratos::SphericElementGlobalPhysicsCalculator::CalculateMinNodalVariable ( ModelPart r_model_part,
const Variable< double > &  r_variable 
)
inline

◆ CalculateRotationalKinematicEnergy()

double Kratos::SphericElementGlobalPhysicsCalculator::CalculateRotationalKinematicEnergy ( ModelPart r_model_part)
inline

◆ CalculateSumOfInternalForces()

array_1d<double, 3> Kratos::SphericElementGlobalPhysicsCalculator::CalculateSumOfInternalForces ( ModelPart r_model_part)
inline

◆ CalculateTotalMass()

double Kratos::SphericElementGlobalPhysicsCalculator::CalculateTotalMass ( ModelPart r_model_part)
inline

◆ CalculateTotalMomentum()

array_1d<double, 3> Kratos::SphericElementGlobalPhysicsCalculator::CalculateTotalMomentum ( ModelPart r_model_part)
inline

◆ CalculateTotalVolume()

double Kratos::SphericElementGlobalPhysicsCalculator::CalculateTotalVolume ( ModelPart r_model_part)
inline

◆ CalculateTranslationalKinematicEnergy()

double Kratos::SphericElementGlobalPhysicsCalculator::CalculateTranslationalKinematicEnergy ( ModelPart r_model_part)
inline

◆ CalulateTotalAngularMomentum()

array_1d<double, 3> Kratos::SphericElementGlobalPhysicsCalculator::CalulateTotalAngularMomentum ( ModelPart r_model_part)
inline

◆ GetElementPartition()

std::vector<unsigned int>& Kratos::SphericElementGlobalPhysicsCalculator::GetElementPartition ( )
inline

◆ GetElementPartitionBegin()

ElementsArrayType::iterator Kratos::SphericElementGlobalPhysicsCalculator::GetElementPartitionBegin ( ModelPart r_model_part,
unsigned int  k 
)
inline

◆ GetElementPartitionEnd()

ElementsArrayType::iterator Kratos::SphericElementGlobalPhysicsCalculator::GetElementPartitionEnd ( ModelPart r_model_part,
unsigned int  k 
)
inline

◆ GetInitialCenterOfMass()

array_1d<double, 3> Kratos::SphericElementGlobalPhysicsCalculator::GetInitialCenterOfMass ( )
inline

◆ Info()

virtual std::string Kratos::SphericElementGlobalPhysicsCalculator::Info ( ) const
inlinevirtual

Turn back information as a stemplate<class T, std::size_t dim> tring.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::SphericElementGlobalPhysicsCalculator::KRATOS_CLASS_POINTER_DEFINITION ( SphericElementGlobalPhysicsCalculator  )

◆ PrintData()

virtual void Kratos::SphericElementGlobalPhysicsCalculator::PrintData ( std::ostream &  rOStream) const
inlinevirtual

Print object's data.

◆ PrintInfo()

virtual void Kratos::SphericElementGlobalPhysicsCalculator::PrintInfo ( std::ostream &  rOStream) const
inlinevirtual

Print information about this object.

Member Data Documentation

◆ mElementsPartition

std::vector<unsigned int> Kratos::SphericElementGlobalPhysicsCalculator::mElementsPartition
protected

The documentation for this class was generated from the following file: