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

Short class definition. More...

#include <contact_domain_utilities.hpp>

Collaboration diagram for Kratos::ContactDomainUtilities:

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)
 
PointTypeCalculateSurfaceNormal (PointType &Normal, const PointType &P1, const PointType &P2)
 
PointTypeCalculateFaceNormal (PointType &Normal, const PointType &P1, const PointType &P2)
 
PointTypeCalculateFaceTangent (PointType &Tangent, const PointType &P1, const PointType &P2)
 
PointTypeCalculateFaceTangent (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)
 

Detailed Description

Short class definition.

Detail class definition.

Member Typedef Documentation

◆ PointType

Tensor order 1 definition.

Constructor & Destructor Documentation

◆ ContactDomainUtilities()

Kratos::ContactDomainUtilities::ContactDomainUtilities ( )
inline

Default constructor.

◆ ~ContactDomainUtilities()

virtual Kratos::ContactDomainUtilities::~ContactDomainUtilities ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ BuildEdgeVector()

void Kratos::ContactDomainUtilities::BuildEdgeVector ( std::vector< std::vector< std::vector< unsigned int > > > &  rEdges)

◆ CalculateBaseArea()

void Kratos::ContactDomainUtilities::CalculateBaseArea ( double area,
double a,
double b,
double c 
)

◆ CalculateBaseDistances() [1/2]

void Kratos::ContactDomainUtilities::CalculateBaseDistances ( BaseLengths Base,
const PointType P1,
const PointType P2,
const PointType PS,
const PointType Normal 
)

◆ CalculateBaseDistances() [2/2]

void Kratos::ContactDomainUtilities::CalculateBaseDistances ( std::vector< BaseLengths > &  BaseVector,
const PointType P1,
const PointType P2,
const PointType P3,
const PointType PS,
const PointType Normal 
)

◆ CalculateEdgeDistances()

void Kratos::ContactDomainUtilities::CalculateEdgeDistances ( std::vector< BaseLengths > &  BaseVector,
const PointType P1,
const PointType P2,
const PointType PS1,
const PointType PS2,
const PointType Normal 
)

◆ CalculateFaceNormal()

ContactDomainUtilities::PointType & Kratos::ContactDomainUtilities::CalculateFaceNormal ( PointType Normal,
const PointType P1,
const PointType P2 
)

◆ CalculateFaceTangent() [1/2]

ContactDomainUtilities::PointType & Kratos::ContactDomainUtilities::CalculateFaceTangent ( PointType Tangent,
const PointType P1,
const PointType P2 
)

◆ CalculateFaceTangent() [2/2]

ContactDomainUtilities::PointType & Kratos::ContactDomainUtilities::CalculateFaceTangent ( PointType Tangent,
PointType Normal 
)

◆ CalculateLineIntersection()

void Kratos::ContactDomainUtilities::CalculateLineIntersection ( double a,
const PointType P1,
const PointType P2,
const PointType V1,
const PointType V2 
)

◆ CalculateObtuseAngle()

bool Kratos::ContactDomainUtilities::CalculateObtuseAngle ( const double  x0,
const double  y0,
const double  x1,
const double  y1,
const double  xc,
const double  yc 
)
inline

◆ CalculatePosition()

bool Kratos::ContactDomainUtilities::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 
)
inline

◆ CalculateSurfaceNormal()

ContactDomainUtilities::PointType & Kratos::ContactDomainUtilities::CalculateSurfaceNormal ( PointType Normal,
const PointType P1,
const PointType P2 
)

◆ CalculateVolume()

double Kratos::ContactDomainUtilities::CalculateVolume ( const double  x0,
const double  y0,
const double  x1,
const double  y1,
const double  x2,
const double  y2 
)
inline

◆ GetOppositeEdge()

void Kratos::ContactDomainUtilities::GetOppositeEdge ( unsigned int i,
unsigned int j,
unsigned int k,
unsigned int l 
)

◆ Info()

virtual std::string Kratos::ContactDomainUtilities::Info ( ) const
inlinevirtual

Turn back information as a string.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::ContactDomainUtilities::KRATOS_CLASS_POINTER_DEFINITION ( ContactDomainUtilities  )

Pointer definition of ContactDomainUtilities.

◆ KRATOS_DEFINE_LOCAL_FLAG() [1/7]

Kratos::ContactDomainUtilities::KRATOS_DEFINE_LOCAL_FLAG ( COMPUTE_FRICTION_FORCES  )

◆ KRATOS_DEFINE_LOCAL_FLAG() [2/7]

Kratos::ContactDomainUtilities::KRATOS_DEFINE_LOCAL_FLAG ( COMPUTE_FRICTION_STIFFNESS  )

◆ KRATOS_DEFINE_LOCAL_FLAG() [3/7]

Kratos::ContactDomainUtilities::KRATOS_DEFINE_LOCAL_FLAG ( COMPUTE_LHS_MATRIX  )

◆ KRATOS_DEFINE_LOCAL_FLAG() [4/7]

Kratos::ContactDomainUtilities::KRATOS_DEFINE_LOCAL_FLAG ( COMPUTE_LHS_MATRIX_WITH_COMPONENTS  )

◆ KRATOS_DEFINE_LOCAL_FLAG() [5/7]

Kratos::ContactDomainUtilities::KRATOS_DEFINE_LOCAL_FLAG ( COMPUTE_NODAL_CONTACT_FORCES  )

◆ KRATOS_DEFINE_LOCAL_FLAG() [6/7]

Kratos::ContactDomainUtilities::KRATOS_DEFINE_LOCAL_FLAG ( COMPUTE_RHS_VECTOR  )

Flags related to the condition computation

◆ KRATOS_DEFINE_LOCAL_FLAG() [7/7]

Kratos::ContactDomainUtilities::KRATOS_DEFINE_LOCAL_FLAG ( COMPUTE_RHS_VECTOR_WITH_COMPONENTS  )

◆ PrintData()

virtual void Kratos::ContactDomainUtilities::PrintData ( std::ostream &  rOStream) const
inlinevirtual

Print object's data.

◆ PrintInfo()

virtual void Kratos::ContactDomainUtilities::PrintInfo ( std::ostream &  rOStream) const
inlinevirtual

Print information about this object.


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