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.
List of all members
Kratos::EnergyUtilities Class Reference

Short class definition. More...

#include <energy_utilities.h>

Collaboration diagram for Kratos::EnergyUtilities:

Public Types

Type Definitions
typedef ModelPart::ElementsContainerType ElementsContainerType
 
typedef ModelPart::MeshType::GeometryType GeometryType
 

Public Member Functions

Life Cycle
 EnergyUtilities ()
 Default constructor. More...
 
 EnergyUtilities (bool Parallel)
 
virtual ~EnergyUtilities ()
 Destructor. More...
 
Operations
double GetTotalKinematicEnergy (ModelPart &rModelPart)
 
double GetGravitationalEnergy (ModelPart &rModelPart)
 
double GetTotalStrainEnergy (ModelPart &rModelPart)
 
double GetExternallyAppliedEnergy (ModelPart &rModelPart)
 
void CalculateNodalMass (ModelPart::NodesContainerType &pNodes, ModelPart::ElementsContainerType &pElements, ProcessInfo &rCurrentProcessInfo)
 
virtual void SetEchoLevel (int Level)
 
int GetEchoLevel ()
 

Detailed Description

Short class definition.

Computes the energy

Member Typedef Documentation

◆ ElementsContainerType

◆ GeometryType

Constructor & Destructor Documentation

◆ EnergyUtilities() [1/2]

Kratos::EnergyUtilities::EnergyUtilities ( )
inline

Default constructor.

◆ EnergyUtilities() [2/2]

Kratos::EnergyUtilities::EnergyUtilities ( bool  Parallel)
inline

◆ ~EnergyUtilities()

virtual Kratos::EnergyUtilities::~EnergyUtilities ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ CalculateNodalMass()

void Kratos::EnergyUtilities::CalculateNodalMass ( ModelPart::NodesContainerType pNodes,
ModelPart::ElementsContainerType pElements,
ProcessInfo rCurrentProcessInfo 
)
inline

◆ GetEchoLevel()

int Kratos::EnergyUtilities::GetEchoLevel ( )
inline

◆ GetExternallyAppliedEnergy()

double Kratos::EnergyUtilities::GetExternallyAppliedEnergy ( ModelPart rModelPart)
inline

◆ GetGravitationalEnergy()

double Kratos::EnergyUtilities::GetGravitationalEnergy ( ModelPart rModelPart)
inline

◆ GetTotalKinematicEnergy()

double Kratos::EnergyUtilities::GetTotalKinematicEnergy ( ModelPart rModelPart)
inline

◆ GetTotalStrainEnergy()

double Kratos::EnergyUtilities::GetTotalStrainEnergy ( ModelPart rModelPart)
inline

◆ SetEchoLevel()

virtual void Kratos::EnergyUtilities::SetEchoLevel ( int  Level)
inlinevirtual

level of echo for the error calculation


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