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 <contact_domain_utilities.hpp>
Classes | |
struct | BaseLengths |
struct | ScalarBaseType |
struct | SurfaceBase |
struct | SurfaceScalar |
struct | SurfaceVector |
Public Member Functions | |
Life Cycle | |
ContactDomainUtilities () | |
Default constructor. More... | |
virtual | ~ContactDomainUtilities () |
Destructor. More... | |
Operations | |
double | CalculateVolume (const double x0, const double y0, const double x1, const double y1, const double x2, const double y2) |
bool | CalculatePosition (const double x0, const double y0, const double x1, const double y1, const double x2, const double y2, const double xc, const double yc) |
bool | CalculateObtuseAngle (const double x0, const double y0, const double x1, const double y1, const double xc, const double yc) |
void | CalculateBaseArea (double &area, double &a, double &b, double &c) |
void | CalculateLineIntersection (double &a, const PointType &P1, const PointType &P2, const PointType &V1, const PointType &V2) |
void | CalculateEdgeDistances (std::vector< BaseLengths > &BaseVector, const PointType &P1, const PointType &P2, const PointType &PS1, const PointType &PS2, const PointType &Normal) |
void | CalculateBaseDistances (std::vector< BaseLengths > &BaseVector, const PointType &P1, const PointType &P2, const PointType &P3, const PointType &PS, const PointType &Normal) |
void | CalculateBaseDistances (BaseLengths &Base, const PointType &P1, const PointType &P2, const PointType &PS, const PointType &Normal) |
PointType & | CalculateSurfaceNormal (PointType &Normal, const PointType &P1, const PointType &P2) |
PointType & | CalculateFaceNormal (PointType &Normal, const PointType &P1, const PointType &P2) |
PointType & | CalculateFaceTangent (PointType &Tangent, const PointType &P1, const PointType &P2) |
PointType & | CalculateFaceTangent (PointType &Tangent, PointType &Normal) |
void | GetOppositeEdge (unsigned int &i, unsigned int &j, unsigned int &k, unsigned int &l) |
void | BuildEdgeVector (std::vector< std::vector< std::vector< unsigned int > > > &rEdges) |
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... | |
Type Definitions | |
typedef array_1d< double, 3 > | PointType |
Tensor order 1 definition. More... | |
KRATOS_CLASS_POINTER_DEFINITION (ContactDomainUtilities) | |
Pointer definition of ContactDomainUtilities. More... | |
KRATOS_DEFINE_LOCAL_FLAG (COMPUTE_RHS_VECTOR) | |
KRATOS_DEFINE_LOCAL_FLAG (COMPUTE_LHS_MATRIX) | |
KRATOS_DEFINE_LOCAL_FLAG (COMPUTE_RHS_VECTOR_WITH_COMPONENTS) | |
KRATOS_DEFINE_LOCAL_FLAG (COMPUTE_LHS_MATRIX_WITH_COMPONENTS) | |
KRATOS_DEFINE_LOCAL_FLAG (COMPUTE_FRICTION_FORCES) | |
KRATOS_DEFINE_LOCAL_FLAG (COMPUTE_FRICTION_STIFFNESS) | |
KRATOS_DEFINE_LOCAL_FLAG (COMPUTE_NODAL_CONTACT_FORCES) | |
Short class definition.
Detail class definition.
typedef array_1d<double, 3> Kratos::ContactDomainUtilities::PointType |
Tensor order 1 definition.
|
inline |
Default constructor.
|
inlinevirtual |
Destructor.
void Kratos::ContactDomainUtilities::BuildEdgeVector | ( | std::vector< std::vector< std::vector< unsigned int > > > & | rEdges | ) |
void Kratos::ContactDomainUtilities::CalculateBaseArea | ( | double & | area, |
double & | a, | ||
double & | b, | ||
double & | c | ||
) |
void Kratos::ContactDomainUtilities::CalculateBaseDistances | ( | BaseLengths & | Base, |
const PointType & | P1, | ||
const PointType & | P2, | ||
const PointType & | PS, | ||
const PointType & | Normal | ||
) |
void Kratos::ContactDomainUtilities::CalculateBaseDistances | ( | std::vector< BaseLengths > & | BaseVector, |
const PointType & | P1, | ||
const PointType & | P2, | ||
const PointType & | P3, | ||
const PointType & | PS, | ||
const PointType & | Normal | ||
) |
void Kratos::ContactDomainUtilities::CalculateEdgeDistances | ( | std::vector< BaseLengths > & | BaseVector, |
const PointType & | P1, | ||
const PointType & | P2, | ||
const PointType & | PS1, | ||
const PointType & | PS2, | ||
const PointType & | Normal | ||
) |
ContactDomainUtilities::PointType & Kratos::ContactDomainUtilities::CalculateFaceNormal | ( | PointType & | Normal, |
const PointType & | P1, | ||
const PointType & | P2 | ||
) |
ContactDomainUtilities::PointType & Kratos::ContactDomainUtilities::CalculateFaceTangent | ( | PointType & | Tangent, |
const PointType & | P1, | ||
const PointType & | P2 | ||
) |
ContactDomainUtilities::PointType & Kratos::ContactDomainUtilities::CalculateFaceTangent | ( | PointType & | Tangent, |
PointType & | Normal | ||
) |
void Kratos::ContactDomainUtilities::CalculateLineIntersection | ( | double & | a, |
const PointType & | P1, | ||
const PointType & | P2, | ||
const PointType & | V1, | ||
const PointType & | V2 | ||
) |
|
inline |
|
inline |
ContactDomainUtilities::PointType & Kratos::ContactDomainUtilities::CalculateSurfaceNormal | ( | PointType & | Normal, |
const PointType & | P1, | ||
const PointType & | P2 | ||
) |
|
inline |
void Kratos::ContactDomainUtilities::GetOppositeEdge | ( | unsigned int & | i, |
unsigned int & | j, | ||
unsigned int & | k, | ||
unsigned int & | l | ||
) |
|
inlinevirtual |
Turn back information as a string.
Kratos::ContactDomainUtilities::KRATOS_CLASS_POINTER_DEFINITION | ( | ContactDomainUtilities | ) |
Pointer definition of ContactDomainUtilities.
Kratos::ContactDomainUtilities::KRATOS_DEFINE_LOCAL_FLAG | ( | COMPUTE_FRICTION_FORCES | ) |
Kratos::ContactDomainUtilities::KRATOS_DEFINE_LOCAL_FLAG | ( | COMPUTE_FRICTION_STIFFNESS | ) |
Kratos::ContactDomainUtilities::KRATOS_DEFINE_LOCAL_FLAG | ( | COMPUTE_LHS_MATRIX | ) |
Kratos::ContactDomainUtilities::KRATOS_DEFINE_LOCAL_FLAG | ( | COMPUTE_LHS_MATRIX_WITH_COMPONENTS | ) |
Kratos::ContactDomainUtilities::KRATOS_DEFINE_LOCAL_FLAG | ( | COMPUTE_NODAL_CONTACT_FORCES | ) |
Kratos::ContactDomainUtilities::KRATOS_DEFINE_LOCAL_FLAG | ( | COMPUTE_RHS_VECTOR | ) |
Flags related to the condition computation
Kratos::ContactDomainUtilities::KRATOS_DEFINE_LOCAL_FLAG | ( | COMPUTE_RHS_VECTOR_WITH_COMPONENTS | ) |
|
inlinevirtual |
Print object's data.
|
inlinevirtual |
Print information about this object.