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.
Classes | Functions
Kratos::EntitiesUtilities Namespace Reference

Classes

class  EntitityIdentifier
 Template struct for entity identifier. More...
 

Functions

template<>
PointerVectorSet< Element, IndexedObject > & GetEntities< Element > (ModelPart &rModelPart)
 
template<>
PointerVectorSet< Condition, IndexedObject > & GetEntities< Condition > (ModelPart &rModelPart)
 
template<>
PointerVectorSet< MasterSlaveConstraint, IndexedObject > & GetEntities< MasterSlaveConstraint > (ModelPart &rModelPart)
 
void InitializeAllEntities (ModelPart &rModelPart)
 This method initializes all the active entities (conditions, elements, constraints) More...
 
void InitializeSolutionStepAllEntities (ModelPart &rModelPart)
 This method calls InitializeSolution for all the entities (conditions, elements, constraints) More...
 
void FinalizeSolutionStepAllEntities (ModelPart &rModelPart)
 This method calls FinalizeSolutionStep for all the entities (conditions, elements, constraints) More...
 
void InitializeNonLinearIterationAllEntities (ModelPart &rModelPart)
 This method calls InitializeNonLinearIteration for all the entities (conditions, elements, constraints) More...
 
void FinalizeNonLinearIterationAllEntities (ModelPart &rModelPart)
 This method calls FinalizeNonLinearIteration for all the entities (conditions, elements, constraints) More...
 
template<class TEntityType >
PointerVectorSet< TEntityType, IndexedObject > & GetEntities (ModelPart &rModelPart)
 This method returns the appropriate TEntitytype container (elements, conditions, and nodes) from model part. More...
 
template<class TEntityType >
void InitializeEntities (ModelPart &rModelPart)
 This method initializes all the active entities. More...
 
template<class TEntityType >
void InitializeSolutionStepEntities (ModelPart &rModelPart)
 This method calls InitializeSolutionStep for all the entities. More...
 
template<class TEntityType >
void FinalizeSolutionStepEntities (ModelPart &rModelPart)
 This method calls FinalizeSolutionStep for all the entities. More...
 
template<class TEntityType >
void InitializeNonLinearIterationEntities (ModelPart &rModelPart)
 This method calls InitializeNonLinearIteration for all the entities. More...
 
template<class TEntityType >
void FinalizeNonLinearIterationEntities (ModelPart &rModelPart)
 This method calls FinalizeNonLinearIteration for all the entities. More...
 
Input and output
template<class TEntity >
std::istream & operator>> (std::istream &rIStream, EntitityIdentifier< TEntity > &rThis)
 input stream function More...
 
template<class TEntity >
std::ostream & operator<< (std::ostream &rOStream, const EntitityIdentifier< TEntity > &rThis)
 output stream function More...
 

Function Documentation

◆ FinalizeNonLinearIterationAllEntities()

void Kratos::EntitiesUtilities::FinalizeNonLinearIterationAllEntities ( ModelPart rModelPart)

This method calls FinalizeNonLinearIteration for all the entities (conditions, elements, constraints)

Parameters
rModelPartThe model part of the problem to solve

◆ FinalizeNonLinearIterationEntities()

template<class TEntityType >
void Kratos::EntitiesUtilities::FinalizeNonLinearIterationEntities ( ModelPart rModelPart)

This method calls FinalizeNonLinearIteration for all the entities.

Parameters
rModelPartThe model part of the problem to solve

◆ FinalizeSolutionStepAllEntities()

void Kratos::EntitiesUtilities::FinalizeSolutionStepAllEntities ( ModelPart rModelPart)

This method calls FinalizeSolutionStep for all the entities (conditions, elements, constraints)

Parameters
rModelPartThe model part of the problem to solve

◆ FinalizeSolutionStepEntities()

template<class TEntityType >
void Kratos::EntitiesUtilities::FinalizeSolutionStepEntities ( ModelPart rModelPart)

This method calls FinalizeSolutionStep for all the entities.

Parameters
rModelPartThe model part of the problem to solve

◆ GetEntities()

template<class TEntityType >
PointerVectorSet<TEntityType, IndexedObject>& Kratos::EntitiesUtilities::GetEntities ( ModelPart rModelPart)

This method returns the appropriate TEntitytype container (elements, conditions, and nodes) from model part.

Parameters
rModelPartThe model part of the problem to solve

◆ GetEntities< Condition >()

◆ GetEntities< Element >()

◆ GetEntities< MasterSlaveConstraint >()

◆ InitializeAllEntities()

void Kratos::EntitiesUtilities::InitializeAllEntities ( ModelPart rModelPart)

This method initializes all the active entities (conditions, elements, constraints)

Parameters
rModelPartThe model part of the problem to solve

◆ InitializeEntities()

template<class TEntityType >
void Kratos::EntitiesUtilities::InitializeEntities ( ModelPart rModelPart)

This method initializes all the active entities.

Parameters
rModelPartThe model part of the problem to solve

◆ InitializeNonLinearIterationAllEntities()

void Kratos::EntitiesUtilities::InitializeNonLinearIterationAllEntities ( ModelPart rModelPart)

This method calls InitializeNonLinearIteration for all the entities (conditions, elements, constraints)

Parameters
rModelPartThe model part of the problem to solve

◆ InitializeNonLinearIterationEntities()

template<class TEntityType >
void Kratos::EntitiesUtilities::InitializeNonLinearIterationEntities ( ModelPart rModelPart)

This method calls InitializeNonLinearIteration for all the entities.

Parameters
rModelPartThe model part of the problem to solve

◆ InitializeSolutionStepAllEntities()

void Kratos::EntitiesUtilities::InitializeSolutionStepAllEntities ( ModelPart rModelPart)

This method calls InitializeSolution for all the entities (conditions, elements, constraints)

Parameters
rModelPartThe model part of the problem to solve

◆ InitializeSolutionStepEntities()

template<class TEntityType >
void Kratos::EntitiesUtilities::InitializeSolutionStepEntities ( ModelPart rModelPart)

This method calls InitializeSolutionStep for all the entities.

Parameters
rModelPartThe model part of the problem to solve

◆ operator<<()

template<class TEntity >
std::ostream& Kratos::EntitiesUtilities::operator<< ( std::ostream &  rOStream,
const EntitityIdentifier< TEntity > &  rThis 
)
inline

output stream function

◆ operator>>()

template<class TEntity >
std::istream& Kratos::EntitiesUtilities::operator>> ( std::istream &  rIStream,
EntitityIdentifier< TEntity > &  rThis 
)
inline

input stream function