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
MeshingApplication

Classes

class  Kratos::MeshingFlags
 Flags needed used in the MeshingApplication. More...
 
class  Kratos::TetgenVolumeMesher
 This class performs the (constrained) Delaunay meshing of the internal volume given a surface discretized in terms of triangular conditions. More...
 
class  Kratos::UniformRefinementUtility
 This class splits all the elements until NUMBER_OF_DIVISIONS reaches the desired value @detail A node is added on the middle of each edge (and an extra node is added inside the quadrilaterals and tetrahedrons) and the nodal values are interpolated Once the element is split, the NUMBER_OF_DIVISIONS variable in increased by one Each division will create the following entities and delete the origin entity: Lines: 2 new lines Triangles: 4 new triangles (mesh quality is conserved) Quadrilaterals: 4 new quadrilaterals (mesh quality is conserved) Tetrahedrons: 8 new tetrahedrons (mesh quality is not conserved) Hexahedrons: 8 new hexahedrons (mesh quality is conserved) It only works with linear elements The splitting keeps the sub model parts. More...
 
class  Kratos::MetricDivergenceFreeProcess< TDim >
 This class is can be used to compute the metrics of the model part with different strategies, exploting the divergence. The developed strategies are: mean distribution strategy: this strategy builds a metric which tries to uniformly spread the refinement indicator in the whole domain maximum strategy: this strategy build a metric which aims at refining only if the refinement indicator belong to the interval [coefficient*max(refinement indicator),max(refinement indicator)]. More...
 
class  Kratos::GaussPointItem
 Custom Gauss Point container to be used by the search. More...
 
class  Kratos::MmgIO< TMMGLibrary >
 This class is a IO which uses the MMG library. More...
 
class  Kratos::InternalVariablesInterpolationProcess
 This utilitiy has as objective to interpolate the values inside elements (and conditions?) in a model part, using as input the original model part and the new one. More...
 
class  Kratos::MetricFastInit< TDim >
 This process initializes the variables related with the ALM. More...
 
class  Kratos::MetricErrorProcess< TDim >
 This class is can be used to compute the metrics of the model part with a error already computed. More...
 
struct  Kratos::AuxiliarHessianComputationVariables
 This is an auxiliar struct to store remeshing variables. More...
 
class  Kratos::ComputeHessianSolMetricProcess
 This class is can be used to compute the metrics of the model part with an Hessian approach. More...
 
class  Kratos::ComputeLevelSetSolMetricProcess< TDim >
 This class is can be used to compute the metrics of the model part with a level set approach. More...
 
class  Kratos::MmgProcess< TMMGLibrary >
 This class is a remesher which uses the MMG library. More...
 
class  Kratos::MultiscaleRefiningProcess
 This class provides a non conforming refinement to perform multi scale analysis @detail This process manages three model parts, the coarse model part, refined model part and the visualization model part. This process can be constructed again with the refined model part as the coarse model part in order to get several subscales levels. The refinement is executed by the UniformRefinementUtility where the nodal flag TO_REFINE is set to True. Then, the coarse elements are removed from the visualization model part and the refined elements are added to the visualization model part. The coarsening is executed by the UniformRefinementUtility where the nodal flag TO_REFINE is set to False. Then, the refined elements are deleted and the corresponding coarse elements are added again to the visualization model part. Flags used by the process: TO_REFINE : Those entities will be refined MeshingFlags::REFINED : Once they are refined MeshingFlags::TO_COARSEN : When they aren't TO_REFINE and they doesn't have dependencies TO_ERASE : auxiliary flag NEW_ENTITY : auxiliary flag INTERFACE : the boundary of the refined model part INSIDE : the refined nodes which are not boundary Variables used by the process: SUBSCALE_INDEX : is increased from the coarse model part to the refined one FATHER_NODES : the pointers to the coarse nodes FATHER_NODES_WEIGHTS : the weights of the father nodes SLAVE_NODE : a pointer to the refined node (matching nodes between coarse and refined model parts) FATHER_ELEMENT : the pointer to the coarse element FATHER_CONDITION : the pointer to the coarse condition. More...
 
class  Kratos::PointBoundary
 Custom Point container to be used to look in the boundary skin. More...
 
class  Kratos::NodalValuesInterpolationProcess< TDim >
 This utilitiy has as objective to interpolate the values inside elements (and conditions?) in a model part, using as input the original model part and the new one. More...
 
class  Kratos::ParMmgProcess< TPMMGLibrary >
 This class is a remesher which uses the PMMG library. More...
 
class  Kratos::MetricsMathUtils< TDim >
 This class is used to compute some mathematical operations needed for the metrics computing. More...
 
struct  Kratos::MMGMeshInfo< TMMGLibrary >
 Stores the Mmg mesh information. More...
 
class  Kratos::MmgUtilities< TMMGLibrary >
 Provides the Kratos interface to the MMG library API. More...
 
struct  Kratos::PMMGMeshInfo< TPMMGLibrary >
 Stores the ParMmg mesh information. More...
 
class  Kratos::ParMmgUtilities< TPMMGLibrary >
 Provides the Kratos interface to the PMMG library API. More...
 

Input and output

std::istream & Kratos::operator>> (std::istream &rIStream, MeshingFlags &rThis)
 input stream function More...
 
std::ostream & Kratos::operator<< (std::ostream &rOStream, const MeshingFlags &rThis)
 output stream function More...
 
std::istream & Kratos::operator>> (std::istream &rIStream, TetgenVolumeMesher &rThis)
 input stream function More...
 
std::ostream & Kratos::operator<< (std::ostream &rOStream, const TetgenVolumeMesher &rThis)
 output stream function More...
 
std::istream & Kratos::operator>> (std::istream &rIStream, UniformRefinementUtility &rThis)
 input stream function More...
 
std::ostream & Kratos::operator<< (std::ostream &rOStream, const UniformRefinementUtility &rThis)
 output stream function More...
 

Detailed Description

Function Documentation

◆ operator<<() [1/3]

std::ostream& Kratos::operator<< ( std::ostream &  rOStream,
const MeshingFlags rThis 
)
inline

output stream function

◆ operator<<() [2/3]

std::ostream& Kratos::operator<< ( std::ostream &  rOStream,
const TetgenVolumeMesher rThis 
)
inline

output stream function

◆ operator<<() [3/3]

std::ostream& Kratos::operator<< ( std::ostream &  rOStream,
const UniformRefinementUtility rThis 
)
inline

output stream function

◆ operator>>() [1/3]

std::istream& Kratos::operator>> ( std::istream &  rIStream,
MeshingFlags rThis 
)
inline

input stream function

◆ operator>>() [2/3]

std::istream& Kratos::operator>> ( std::istream &  rIStream,
TetgenVolumeMesher rThis 
)
inline

input stream function

◆ operator>>() [3/3]

std::istream& Kratos::operator>> ( std::istream &  rIStream,
UniformRefinementUtility rThis 
)
inline

input stream function