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.
|
Short class definition. More...
#include <mesh_data_transfer_utilities.hpp>
Classes | |
struct | BoundaryVariableArrays |
struct | BoundaryVariables |
struct | TransferParameters |
Public Member Functions | |
Life Cycle | |
MeshDataTransferUtilities () | |
Default constructor. More... | |
MeshDataTransferUtilities (MeshDataTransferUtilities const &rOther) | |
Copy constructor. More... | |
virtual | ~MeshDataTransferUtilities () |
Destructor. More... | |
Operations | |
void | TransferData (ModelPart &rModelPart, const Element &rReferenceElement, PointPointerVector &list_of_new_centers, std::vector< Geometry< Node > > &list_of_new_vertices, Flags Options) |
void | InitializeBoundaryData (Condition *rCurrentCondition, const TransferParameters &rTransferVariables, const ProcessInfo &rCurrentProcessInfo) |
void | TransferInitialBoundaryData (Condition *rCurrentCondition, const TransferParameters &rTransferVariables, BoundaryVariables &rVariables) |
void | TransferCurrentBoundaryData (Element *rCurrentElement, Condition *rCurrentCondition, const TransferParameters &rTransferVariables, BoundaryVariables &rVariables, BoundaryVariableArrays &rVariableArrays, const ProcessInfo &rCurrentProcessInfo) |
void | TransferBoundaryData (Condition::Pointer rCurrentCondition, Condition::Pointer rReferenceCondition, const TransferParameters &rTransferVariables) |
void | TransferBoundaryData (Element *rCurrentElement, Condition *rCurrentCondition, const TransferParameters &rTransferVariables, const ProcessInfo &rCurrentProcessInfo) |
void | TransferBoundaryData (const TransferParameters &rTransferVariables, ModelPart &rModelPart) |
void | TransferNodalValuesToElements (const TransferParameters &rTransferVariables, ModelPart &rModelPart) |
void | TransferNodalValuesToElements (const TransferParameters &rTransferVariables, const Variable< double > &rCriticalVariable, const double &CriticalValue, ModelPart &rModelPart) |
void | TransferElementalValuesToNodes (const TransferParameters &rTransferVariables, ModelPart &rModelPart) |
void | TransferNodalValuesToElements (ModelPart &rModelPart, const Element &rReferenceElement, PointPointerVector &list_of_new_centers, std::vector< Geometry< Node > > &list_of_new_vertices) |
void | TransferElementalValuesToNodes (ModelPart &rModelPart, const Element &rReferenceElement, PointPointerVector &list_of_new_centers, std::vector< Geometry< Node > > &list_of_new_vertices) |
void | TransferElementalValuesToElements (ModelPart &rModelPart, const Element &rReferenceElement, PointPointerVector &list_of_new_centers, std::vector< Geometry< Node > > &list_of_new_vertices) |
void | CalculateCenterAndSearchRadius (const std::vector< std::vector< double > > &rPointCoordinates, std::vector< double > &rCenter, double &rRadius) |
void | CalculateCenterAndSearchRadius (const double x0, const double y0, const double x1, const double y1, double &xc, double &yc, double &R) |
void | CalculateCenterAndSearchRadius (const double x0, const double y0, const double z0, const double x1, const double y1, const double z1, const double x2, const double y2, const double z2, double &xc, double &yc, double &zc, double &R) |
void | CalculateCenterAndSearchRadius (const double x0, const double y0, const double x1, const double y1, const double x2, const double y2, double &xc, double &yc, double &R) |
void | CalculateCenterAndSearchRadius (const double x0, const double y0, const double z0, const double x1, const double y1, const double z1, const double x2, const double y2, const double z2, const double x3, const double y3, const double z3, double &xc, double &yc, double &zc, double &R) |
void | FillVectorData (VariablesList &rVariablesList, Node &rNode) |
void | Interpolate (Geometry< Node > &geom, const std::vector< double > &N, VariablesList &rVariablesList, Node::Pointer pnode, double alpha=1.0) |
VariablesListDataValueContainer | InterpolateVariables (Geometry< Node > &geom, const std::vector< double > &N, VariablesList &rVariablesList, Node::Pointer pnode, double alpha=1.0) |
void | InterpolateData (Geometry< Node > &geom, const std::vector< double > &N, unsigned int step_data_size, Node::Pointer pnode, double alpha=1.0) |
VariablesListDataValueContainer | InterpolateVariablesData (Geometry< Node > &geom, const std::vector< double > &N, unsigned int step_data_size, Node::Pointer pnode, double alpha=1.0) |
Input and output | |
virtual std::string | Info () const |
Turn back information as a string. 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... | |
Protected Attributes | |
Protected member Variables | |
int | mEchoLevel |
Short class definition.
Detail class definition.
typedef GlobalPointersVector<Condition> Kratos::MeshDataTransferUtilities::ConditionWeakPtrVectorType |
typedef std::vector<Node::Pointer > Kratos::MeshDataTransferUtilities::PointPointerVector |
typedef ModelPart::MeshType::GeometryType::PointsArrayType Kratos::MeshDataTransferUtilities::PointsArrayType |
|
inline |
Default constructor.
|
inline |
Copy constructor.
|
inlinevirtual |
Destructor.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void Kratos::MeshDataTransferUtilities::FillVectorData | ( | VariablesList & | rVariablesList, |
Node & | rNode | ||
) |
|
inlinevirtual |
Turn back information as a string.
void Kratos::MeshDataTransferUtilities::InitializeBoundaryData | ( | Condition * | rCurrentCondition, |
const TransferParameters & | rTransferVariables, | ||
const ProcessInfo & | rCurrentProcessInfo | ||
) |
void Kratos::MeshDataTransferUtilities::Interpolate | ( | Geometry< Node > & | geom, |
const std::vector< double > & | N, | ||
VariablesList & | rVariablesList, | ||
Node::Pointer | pnode, | ||
double | alpha = 1.0 |
||
) |
void Kratos::MeshDataTransferUtilities::InterpolateData | ( | Geometry< Node > & | geom, |
const std::vector< double > & | N, | ||
unsigned int | step_data_size, | ||
Node::Pointer | pnode, | ||
double | alpha = 1.0 |
||
) |
VariablesListDataValueContainer Kratos::MeshDataTransferUtilities::InterpolateVariables | ( | Geometry< Node > & | geom, |
const std::vector< double > & | N, | ||
VariablesList & | rVariablesList, | ||
Node::Pointer | pnode, | ||
double | alpha = 1.0 |
||
) |
VariablesListDataValueContainer Kratos::MeshDataTransferUtilities::InterpolateVariablesData | ( | Geometry< Node > & | geom, |
const std::vector< double > & | N, | ||
unsigned int | step_data_size, | ||
Node::Pointer | pnode, | ||
double | alpha = 1.0 |
||
) |
Kratos::MeshDataTransferUtilities::KRATOS_CLASS_POINTER_DEFINITION | ( | MeshDataTransferUtilities | ) |
Pointer definition of data transfer.
Kratos::MeshDataTransferUtilities::KRATOS_DEFINE_LOCAL_FLAG | ( | ELEMENT_TO_ELEMENT | ) |
Kratos::MeshDataTransferUtilities::KRATOS_DEFINE_LOCAL_FLAG | ( | ELEMENT_TO_NODE | ) |
Kratos::MeshDataTransferUtilities::KRATOS_DEFINE_LOCAL_FLAG | ( | INITIALIZE_MASTER_CONDITION | ) |
Kratos::MeshDataTransferUtilities::KRATOS_DEFINE_LOCAL_FLAG | ( | MASTER_ELEMENT_TO_MASTER_CONDITION | ) |
Kratos::MeshDataTransferUtilities::KRATOS_DEFINE_LOCAL_FLAG | ( | NODE_TO_ELEMENT | ) |
Flags related to the meshing parameters
|
inlinevirtual |
Print object's data.
|
inlinevirtual |
Print information about this object.
void Kratos::MeshDataTransferUtilities::TransferBoundaryData | ( | Condition::Pointer | rCurrentCondition, |
Condition::Pointer | rReferenceCondition, | ||
const TransferParameters & | rTransferVariables | ||
) |
void Kratos::MeshDataTransferUtilities::TransferBoundaryData | ( | const TransferParameters & | rTransferVariables, |
ModelPart & | rModelPart | ||
) |
void Kratos::MeshDataTransferUtilities::TransferBoundaryData | ( | Element * | rCurrentElement, |
Condition * | rCurrentCondition, | ||
const TransferParameters & | rTransferVariables, | ||
const ProcessInfo & | rCurrentProcessInfo | ||
) |
void Kratos::MeshDataTransferUtilities::TransferCurrentBoundaryData | ( | Element * | rCurrentElement, |
Condition * | rCurrentCondition, | ||
const TransferParameters & | rTransferVariables, | ||
BoundaryVariables & | rVariables, | ||
BoundaryVariableArrays & | rVariableArrays, | ||
const ProcessInfo & | rCurrentProcessInfo | ||
) |
void Kratos::MeshDataTransferUtilities::TransferData | ( | ModelPart & | rModelPart, |
const Element & | rReferenceElement, | ||
PointPointerVector & | list_of_new_centers, | ||
std::vector< Geometry< Node > > & | list_of_new_vertices, | ||
Flags | Options | ||
) |
void Kratos::MeshDataTransferUtilities::TransferElementalValuesToElements | ( | ModelPart & | rModelPart, |
const Element & | rReferenceElement, | ||
PointPointerVector & | list_of_new_centers, | ||
std::vector< Geometry< Node > > & | list_of_new_vertices | ||
) |
void Kratos::MeshDataTransferUtilities::TransferElementalValuesToNodes | ( | const TransferParameters & | rTransferVariables, |
ModelPart & | rModelPart | ||
) |
void Kratos::MeshDataTransferUtilities::TransferElementalValuesToNodes | ( | ModelPart & | rModelPart, |
const Element & | rReferenceElement, | ||
PointPointerVector & | list_of_new_centers, | ||
std::vector< Geometry< Node > > & | list_of_new_vertices | ||
) |
void Kratos::MeshDataTransferUtilities::TransferInitialBoundaryData | ( | Condition * | rCurrentCondition, |
const TransferParameters & | rTransferVariables, | ||
BoundaryVariables & | rVariables | ||
) |
void Kratos::MeshDataTransferUtilities::TransferNodalValuesToElements | ( | const TransferParameters & | rTransferVariables, |
const Variable< double > & | rCriticalVariable, | ||
const double & | CriticalValue, | ||
ModelPart & | rModelPart | ||
) |
void Kratos::MeshDataTransferUtilities::TransferNodalValuesToElements | ( | const TransferParameters & | rTransferVariables, |
ModelPart & | rModelPart | ||
) |
void Kratos::MeshDataTransferUtilities::TransferNodalValuesToElements | ( | ModelPart & | rModelPart, |
const Element & | rReferenceElement, | ||
PointPointerVector & | list_of_new_centers, | ||
std::vector< Geometry< Node > > & | list_of_new_vertices | ||
) |
|
protected |