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.
Typedefs | Functions
Kratos::GeometryFunctions Namespace Reference

Typedefs

typedef Geometry< NodeGeometryType
 

Functions

static void RotateAVectorAGivenAngleAroundAUnitaryVector (const array_1d< double, 3 > &old_vec, const array_1d< double, 3 > &axis, const double ang, array_1d< double, 3 > &new_vec)
 
static void TranslateGridOfNodes (const double time, const double velocity_start_time, const double velocity_stop_time, array_1d< double, 3 > &center_position, const array_1d< double, 3 > &initial_center, array_1d< double, 3 > &previous_displ, array_1d< double, 3 > &linear_velocity_changed, const double linear_period, const double dt, const array_1d< double, 3 > &linear_velocity)
 
static int sign (const double a)
 
static double min (double a, double b)
 
static double max (double a, double b)
 
static void normalize (double Vector[3])
 
static void normalize (array_1d< double, 3 > &Vector, double &distance)
 
static void normalize (double Vector[3], double &distance)
 
static void normalize (array_1d< double, 3 > &Vector)
 
static void module (const array_1d< double, 3 > &Vector, double &distance)
 
static double module (const double Vector[3])
 
static void module (const double Vector[3], double &distance)
 
static double module (const array_1d< double, 3 > &Vector)
 
static void VectorGlobal2Local (const double LocalCoordSystem[3][3], const double GlobalVector[3], double LocalVector[3])
 
static void VectorGlobal2Local (const double LocalCoordSystem[3][3], const array_1d< double, 3 > &GlobalVector, array_1d< double, 3 > &LocalVector)
 
static void VectorGlobal2Local (const double LocalCoordSystem[3][3], const array_1d< double, 3 > &GlobalVector, double LocalVector[3])
 
static void VectorLocal2Global (const double LocalCoordSystem[3][3], const double LocalVector[3], double GlobalVector[3])
 
static void VectorLocal2Global (const double LocalCoordSystem[3][3], const array_1d< double, 3 > &LocalVector, array_1d< double, 3 > &GlobalVector)
 
static void VectorLocal2Global (const double LocalCoordSystem[3][3], const array_1d< double, 3 > &LocalVector, double GlobalVector[3])
 
static void VectorLocal2Global (const double LocalCoordSystem[3][3], const double LocalVector[3], array_1d< double, 3 > &GlobalVector)
 
static void ProductMatrices3X3 (const double Matrix1[3][3], const double Matrix2[3][3], double Matrix3[3][3])
 
static void ProductMatrix3X3Vector3X1 (const double Matrix[3][3], const array_1d< double, 3 > &Vector1, array_1d< double, 3 > &Vector2)
 
static void TensorGlobal2Local (const double LocalCoordSystem[3][3], const double GlobalTensor[3][3], double LocalTensor[3][3])
 
static void TensorLocal2Global (const double LocalCoordSystem[3][3], const double LocalTensor[3][3], double GlobalTensor[3][3])
 
static void RotaMatrixTensorLocal2Global (const double R[3][3], const double LocalTensor[3][3], double GlobalTensor[3][3])
 
static void ConstructLocalTensor (const double moment_of_inertia, double LocalTensor[3][3])
 
static void ConstructInvLocalTensor (const double moment_of_inertia, double LocalTensorInv[3][3])
 
static void ConstructLocalTensor (const array_1d< double, 3 > &moments_of_inertia, double LocalTensor[3][3])
 
static void ConstructInvLocalTensor (const array_1d< double, 3 > &moments_of_inertia, double LocalTensorInv[3][3])
 
static double DotProduct (double Vector1[3], double Vector2[3])
 
static double DotProduct (const array_1d< double, 3 > &Vector1, const array_1d< double, 3 > &Vector2)
 
static void CrossProduct (const double u[3], const double v[3], double ReturnVector[3])
 
static void CrossProduct (const array_1d< double, 3 > &u, const array_1d< double, 3 > &v, array_1d< double, 3 > &ReturnVector)
 
static void CrossProduct (const double u[3], const array_1d< double, 3 > &v, double ReturnVector[3])
 
static void CrossProduct (const array_1d< double, 3 > &u, const double v[3], double ReturnVector[3])
 
static void CrossProduct (const array_1d< double, 3 > &u, const double v[3], array_1d< double, 3 > &ReturnVector)
 
static void CrossProduct (const array_1d< double, 3 > &u, const array_1d< double, 3 > &v, double ReturnVector[3])
 
static void RotateRightHandedBasisAroundAxis (const array_1d< double, 3 > &e1, const array_1d< double, 3 > &e2, const array_1d< double, 3 > &axis, const double ang, array_1d< double, 3 > &new_axes1, array_1d< double, 3 > &new_axes2, array_1d< double, 3 > &new_axes3)
 
static void RotateGridOfNodes (const double time, const double angular_velocity_start_time, const double angular_velocity_stop_time, array_1d< double, 3 > &angular_velocity_changed, const double angular_period, const double mod_angular_velocity, const array_1d< double, 3 > &angular_velocity, array_1d< double, 3 > &new_axes1, array_1d< double, 3 > &new_axes2, array_1d< double, 3 > &new_axes3)
 
static void UpdateKinematicVariablesOfAGridOfNodes (double mod_angular_velocity, const array_1d< double, 3 > &linear_velocity, const array_1d< double, 3 > &initial_center, array_1d< double, 3 > &new_axes1, array_1d< double, 3 > &new_axes2, array_1d< double, 3 > &new_axes3, array_1d< double, 3 > &angular_velocity_changed, array_1d< double, 3 > &linear_velocity_changed, array_1d< double, 3 > &center_position, const bool fixed_mesh, const double dt, ModelPart::NodesContainerType &pNodes)
 
static void ComputeContactLocalCoordSystem (array_1d< double, 3 > NormalDirection, const double &distance, double LocalCoordSystem[3][3])
 
static double DistanceOfTwoPoint (const double coord1[3], const double coord2[3])
 
static double DistanceOfTwoPoint (const array_1d< double, 3 > &coord1, const double coord2[3])
 
static double DistanceOfTwoPointSquared (const array_1d< double, 3 > &coord1, const array_1d< double, 3 > &coord2)
 
static double DistanceOfTwoPointSquared (double coord1[3], double coord2[3])
 
static double DistancePointToPlane (const array_1d< double, 3 > &CoordInPlane, double PlaneUnitNormalVector[3], double TestCoord[3])
 
static void CoordProjectionOnPlane (double CoordOut[3], double CoordIn[3], double LocalCoordSystem[3][3], double IntersectionCoord[3])
 
static void CoordProjectionOnPlaneNew (double CoordOut[3], const array_1d< double, 3 > &CoordIn, double LocalCoordSystem[3][3], double IntersectionCoord[3])
 
static void Compute3DimElementFaceLocalSystem (const array_1d< double, 3 > &FaceCoord1, const array_1d< double, 3 > &FaceCoord2, const array_1d< double, 3 > &FaceCoord3, double ParticleCoord[3], double LocalCoordSystem[3][3], double &normal_flag)
 
static void Compute3DimElementFaceLocalSystem (double FaceCoord1[3], double FaceCoord2[3], double FaceCoord3[3], double ParticleCoord[3], double LocalCoordSystem[3][3], double &normal_flag)
 
static void RotatePointAboutArbitraryLine (array_1d< double, 3 > &TargetPoint, const array_1d< double, 3 > &CentrePoint, const array_1d< double, 3 > &LineVector, const double RotationAngle)
 
static void QuaternionVectorLocal2Global (const Quaternion< double > &Q, const array_1d< double, 3 > &LocalVector, array_1d< double, 3 > &GlobalVector)
 
static void QuaternionVectorGlobal2Local (const Quaternion< double > &Q, const array_1d< double, 3 > &GlobalVector, array_1d< double, 3 > &LocalVector)
 
static void QuaternionTensorLocal2Global (const Quaternion< double > &Q, const double LocalTensor[3][3], double GlobalTensor[3][3])
 
static void UpdateOrientation (array_1d< double, 3 > &EulerAngles, Quaternion< double > &Orientation, const array_1d< double, 3 > &DeltaRotation)
 
static void UpdateOrientation (Quaternion< double > &Orientation, const array_1d< double, 3 > &DeltaRotation)
 
static void UpdateOrientation (const Quaternion< double > &Orientation, Quaternion< double > &NewOrientation, const array_1d< double, 3 > &DeltaRotation)
 
static void EulerAnglesFromRotationAngle (array_1d< double, 3 > &EulerAngles, const array_1d< double, 3 > &RotatedAngle)
 
static void OrientationFromRotationAngle (Quaternion< double > &DeltaOrientation, const array_1d< double, 3 > &DeltaRotation)
 
static void RotateCoordToDirection (const double OLdCoordSystem[3][3], double Vector[3], double NewCoordSystem[3][3])
 
static bool InsideOutside (const array_1d< double, 3 > &Coord1, const array_1d< double, 3 > &Coord2, const array_1d< double, 3 > &JudgeCoord, const array_1d< double, 3 > &normal_element, double &area)
 
static bool InsideOutside (const array_1d< double, 3 > &Coord1, const array_1d< double, 3 > &Coord2, const array_1d< double, 3 > &JudgeCoord, const array_1d< double, 3 > &normal_element)
 
static void WeightsCalculation (std::vector< double > Area, std::vector< double > &Weight)
 
static bool FastFacetCheck (const std::vector< array_1d< double, 3 > > &Coord, const array_1d< double, 3 > &Particle_Coord, double rad, double &DistPToB, unsigned int &current_edge_index)
 
static bool FacetCheck (const GeometryType &Coord, const array_1d< double, 3 > &Particle_Coord, double rad, double LocalCoordSystem[3][3], double &DistPToB, std::vector< double > &Weight, unsigned int &current_edge_index, bool &inside)
 
static bool FastEdgeVertexCheck (const array_1d< double, 3 > &Coord1, const array_1d< double, 3 > &Coord2, const array_1d< double, 3 > &Particle_Coord, double Radius)
 
static bool EdgeCheck (const array_1d< double, 3 > &Coord1, const array_1d< double, 3 > &Coord2, const array_1d< double, 3 > &Particle_Coord, double Radius, double LocalCoordSystem[3][3], double &DistParticleToEdge, double &eta)
 
static bool VertexCheck (const array_1d< double, 3 > &Coord, const array_1d< double, 3 > &Particle_Coord, double Radius, double LocalCoordSystem[3][3], double &DistParticleToVertex)
 
static bool FastVertexCheck (const array_1d< double, 3 > &Coord, const array_1d< double, 3 > &Particle_Coord, double Radius)
 
static void GetRotationMatrix (const array_1d< double, 3 > &EulerAngles, double rotation_matrix[3][3])
 
static void GetEulerAngles (const double rotation_matrix[3][3], array_1d< double, 3 > &EulerAngles)
 
static void GetGiDEulerAngles (const BoundedMatrix< double, 3, 3 > &rotation_matrix, array_1d< double, 3 > &EulerAngles)
 
void QuaternionToGiDEulerAngles (const Quaternion< double > &quaternion, array_1d< double, 3 > &EulerAngles)
 
static void TriAngleArea (double Coord1[3], double Coord2[3], double Coord3[3], double &area)
 
static void TriAngleWeight (double Coord1[3], double Coord2[3], double Coord3[3], double JudgeCoord[3], double Weight[3])
 
static void QuadAngleWeight (double Coord1[3], double Coord2[3], double Coord3[3], double Coord4[3], double JudgeCoord[3], double Weight[4])
 
static void AreaAndCentroidCircularSector (double C[3], double Radius, double P1[3], double P2[3], double Normal[3], double &Area, double CoMSC[3])
 
static void AlternativeAreaCircularSegment (double Radius, double tol_Radius, double V0V1[3], double V0CC[3], double Normal[3], double &AreaSC, bool &flag)
 
static void AreaAndCentroidCircularSegment (double Centre[3], double Radius, double tol_Radius, double V0[3], double V1[3], double Normal[3], double &AreaSegC, double CoMSegC[3], bool &flag)
 
static void AreaAndCentroidTriangle (double Coord1[3], double Coord2[3], double Coord3[3], double &area, double CoMTri[3])
 

Typedef Documentation

◆ GeometryType

Function Documentation

◆ AlternativeAreaCircularSegment()

static void Kratos::GeometryFunctions::AlternativeAreaCircularSegment ( double  Radius,
double  tol_Radius,
double  V0V1[3],
double  V0CC[3],
double  Normal[3],
double AreaSC,
bool flag 
)
inlinestatic

◆ AreaAndCentroidCircularSector()

static void Kratos::GeometryFunctions::AreaAndCentroidCircularSector ( double  C[3],
double  Radius,
double  P1[3],
double  P2[3],
double  Normal[3],
double Area,
double  CoMSC[3] 
)
inlinestatic

◆ AreaAndCentroidCircularSegment()

static void Kratos::GeometryFunctions::AreaAndCentroidCircularSegment ( double  Centre[3],
double  Radius,
double  tol_Radius,
double  V0[3],
double  V1[3],
double  Normal[3],
double AreaSegC,
double  CoMSegC[3],
bool flag 
)
inlinestatic

◆ AreaAndCentroidTriangle()

static void Kratos::GeometryFunctions::AreaAndCentroidTriangle ( double  Coord1[3],
double  Coord2[3],
double  Coord3[3],
double area,
double  CoMTri[3] 
)
inlinestatic

◆ Compute3DimElementFaceLocalSystem() [1/2]

static void Kratos::GeometryFunctions::Compute3DimElementFaceLocalSystem ( const array_1d< double, 3 > &  FaceCoord1,
const array_1d< double, 3 > &  FaceCoord2,
const array_1d< double, 3 > &  FaceCoord3,
double  ParticleCoord[3],
double  LocalCoordSystem[3][3],
double normal_flag 
)
inlinestatic

◆ Compute3DimElementFaceLocalSystem() [2/2]

static void Kratos::GeometryFunctions::Compute3DimElementFaceLocalSystem ( double  FaceCoord1[3],
double  FaceCoord2[3],
double  FaceCoord3[3],
double  ParticleCoord[3],
double  LocalCoordSystem[3][3],
double normal_flag 
)
inlinestatic

◆ ComputeContactLocalCoordSystem()

static void Kratos::GeometryFunctions::ComputeContactLocalCoordSystem ( array_1d< double, 3 >  NormalDirection,
const double distance,
double  LocalCoordSystem[3][3] 
)
inlinestatic

◆ ConstructInvLocalTensor() [1/2]

static void Kratos::GeometryFunctions::ConstructInvLocalTensor ( const array_1d< double, 3 > &  moments_of_inertia,
double  LocalTensorInv[3][3] 
)
inlinestatic

◆ ConstructInvLocalTensor() [2/2]

static void Kratos::GeometryFunctions::ConstructInvLocalTensor ( const double  moment_of_inertia,
double  LocalTensorInv[3][3] 
)
inlinestatic

◆ ConstructLocalTensor() [1/2]

static void Kratos::GeometryFunctions::ConstructLocalTensor ( const array_1d< double, 3 > &  moments_of_inertia,
double  LocalTensor[3][3] 
)
inlinestatic

◆ ConstructLocalTensor() [2/2]

static void Kratos::GeometryFunctions::ConstructLocalTensor ( const double  moment_of_inertia,
double  LocalTensor[3][3] 
)
inlinestatic

◆ CoordProjectionOnPlane()

static void Kratos::GeometryFunctions::CoordProjectionOnPlane ( double  CoordOut[3],
double  CoordIn[3],
double  LocalCoordSystem[3][3],
double  IntersectionCoord[3] 
)
inlinestatic

◆ CoordProjectionOnPlaneNew()

static void Kratos::GeometryFunctions::CoordProjectionOnPlaneNew ( double  CoordOut[3],
const array_1d< double, 3 > &  CoordIn,
double  LocalCoordSystem[3][3],
double  IntersectionCoord[3] 
)
inlinestatic

◆ CrossProduct() [1/6]

static void Kratos::GeometryFunctions::CrossProduct ( const array_1d< double, 3 > &  u,
const array_1d< double, 3 > &  v,
array_1d< double, 3 > &  ReturnVector 
)
inlinestatic

◆ CrossProduct() [2/6]

static void Kratos::GeometryFunctions::CrossProduct ( const array_1d< double, 3 > &  u,
const array_1d< double, 3 > &  v,
double  ReturnVector[3] 
)
inlinestatic

◆ CrossProduct() [3/6]

static void Kratos::GeometryFunctions::CrossProduct ( const array_1d< double, 3 > &  u,
const double  v[3],
array_1d< double, 3 > &  ReturnVector 
)
inlinestatic

◆ CrossProduct() [4/6]

static void Kratos::GeometryFunctions::CrossProduct ( const array_1d< double, 3 > &  u,
const double  v[3],
double  ReturnVector[3] 
)
inlinestatic

◆ CrossProduct() [5/6]

static void Kratos::GeometryFunctions::CrossProduct ( const double  u[3],
const array_1d< double, 3 > &  v,
double  ReturnVector[3] 
)
inlinestatic

◆ CrossProduct() [6/6]

static void Kratos::GeometryFunctions::CrossProduct ( const double  u[3],
const double  v[3],
double  ReturnVector[3] 
)
inlinestatic

◆ DistanceOfTwoPoint() [1/2]

static double Kratos::GeometryFunctions::DistanceOfTwoPoint ( const array_1d< double, 3 > &  coord1,
const double  coord2[3] 
)
inlinestatic

◆ DistanceOfTwoPoint() [2/2]

static double Kratos::GeometryFunctions::DistanceOfTwoPoint ( const double  coord1[3],
const double  coord2[3] 
)
inlinestatic

◆ DistanceOfTwoPointSquared() [1/2]

static double Kratos::GeometryFunctions::DistanceOfTwoPointSquared ( const array_1d< double, 3 > &  coord1,
const array_1d< double, 3 > &  coord2 
)
inlinestatic

◆ DistanceOfTwoPointSquared() [2/2]

static double Kratos::GeometryFunctions::DistanceOfTwoPointSquared ( double  coord1[3],
double  coord2[3] 
)
inlinestatic

◆ DistancePointToPlane()

static double Kratos::GeometryFunctions::DistancePointToPlane ( const array_1d< double, 3 > &  CoordInPlane,
double  PlaneUnitNormalVector[3],
double  TestCoord[3] 
)
inlinestatic

◆ DotProduct() [1/2]

static double Kratos::GeometryFunctions::DotProduct ( const array_1d< double, 3 > &  Vector1,
const array_1d< double, 3 > &  Vector2 
)
inlinestatic

◆ DotProduct() [2/2]

static double Kratos::GeometryFunctions::DotProduct ( double  Vector1[3],
double  Vector2[3] 
)
inlinestatic

◆ EdgeCheck()

static bool Kratos::GeometryFunctions::EdgeCheck ( const array_1d< double, 3 > &  Coord1,
const array_1d< double, 3 > &  Coord2,
const array_1d< double, 3 > &  Particle_Coord,
double  Radius,
double  LocalCoordSystem[3][3],
double DistParticleToEdge,
double eta 
)
inlinestatic

◆ EulerAnglesFromRotationAngle()

static void Kratos::GeometryFunctions::EulerAnglesFromRotationAngle ( array_1d< double, 3 > &  EulerAngles,
const array_1d< double, 3 > &  RotatedAngle 
)
inlinestatic

◆ FacetCheck()

static bool Kratos::GeometryFunctions::FacetCheck ( const GeometryType Coord,
const array_1d< double, 3 > &  Particle_Coord,
double  rad,
double  LocalCoordSystem[3][3],
double DistPToB,
std::vector< double > &  Weight,
unsigned int current_edge_index,
bool inside 
)
inlinestatic

◆ FastEdgeVertexCheck()

static bool Kratos::GeometryFunctions::FastEdgeVertexCheck ( const array_1d< double, 3 > &  Coord1,
const array_1d< double, 3 > &  Coord2,
const array_1d< double, 3 > &  Particle_Coord,
double  Radius 
)
inlinestatic

◆ FastFacetCheck()

static bool Kratos::GeometryFunctions::FastFacetCheck ( const std::vector< array_1d< double, 3 > > &  Coord,
const array_1d< double, 3 > &  Particle_Coord,
double  rad,
double DistPToB,
unsigned int current_edge_index 
)
inlinestatic

◆ FastVertexCheck()

static bool Kratos::GeometryFunctions::FastVertexCheck ( const array_1d< double, 3 > &  Coord,
const array_1d< double, 3 > &  Particle_Coord,
double  Radius 
)
inlinestatic

◆ GetEulerAngles()

static void Kratos::GeometryFunctions::GetEulerAngles ( const double  rotation_matrix[3][3],
array_1d< double, 3 > &  EulerAngles 
)
inlinestatic

◆ GetGiDEulerAngles()

static void Kratos::GeometryFunctions::GetGiDEulerAngles ( const BoundedMatrix< double, 3, 3 > &  rotation_matrix,
array_1d< double, 3 > &  EulerAngles 
)
inlinestatic

◆ GetRotationMatrix()

static void Kratos::GeometryFunctions::GetRotationMatrix ( const array_1d< double, 3 > &  EulerAngles,
double  rotation_matrix[3][3] 
)
inlinestatic

◆ InsideOutside() [1/2]

static bool Kratos::GeometryFunctions::InsideOutside ( const array_1d< double, 3 > &  Coord1,
const array_1d< double, 3 > &  Coord2,
const array_1d< double, 3 > &  JudgeCoord,
const array_1d< double, 3 > &  normal_element 
)
inlinestatic

◆ InsideOutside() [2/2]

static bool Kratos::GeometryFunctions::InsideOutside ( const array_1d< double, 3 > &  Coord1,
const array_1d< double, 3 > &  Coord2,
const array_1d< double, 3 > &  JudgeCoord,
const array_1d< double, 3 > &  normal_element,
double area 
)
inlinestatic

◆ max()

static double Kratos::GeometryFunctions::max ( double  a,
double  b 
)
inlinestatic

◆ min()

static double Kratos::GeometryFunctions::min ( double  a,
double  b 
)
inlinestatic

◆ module() [1/4]

static double Kratos::GeometryFunctions::module ( const array_1d< double, 3 > &  Vector)
inlinestatic

◆ module() [2/4]

static void Kratos::GeometryFunctions::module ( const array_1d< double, 3 > &  Vector,
double distance 
)
inlinestatic

◆ module() [3/4]

static double Kratos::GeometryFunctions::module ( const double  Vector[3])
inlinestatic

◆ module() [4/4]

static void Kratos::GeometryFunctions::module ( const double  Vector[3],
double distance 
)
inlinestatic

◆ normalize() [1/4]

static void Kratos::GeometryFunctions::normalize ( array_1d< double, 3 > &  Vector)
inlinestatic

◆ normalize() [2/4]

static void Kratos::GeometryFunctions::normalize ( array_1d< double, 3 > &  Vector,
double distance 
)
inlinestatic

◆ normalize() [3/4]

static void Kratos::GeometryFunctions::normalize ( double  Vector[3])
inlinestatic

◆ normalize() [4/4]

static void Kratos::GeometryFunctions::normalize ( double  Vector[3],
double distance 
)
inlinestatic

◆ OrientationFromRotationAngle()

static void Kratos::GeometryFunctions::OrientationFromRotationAngle ( Quaternion< double > &  DeltaOrientation,
const array_1d< double, 3 > &  DeltaRotation 
)
inlinestatic

◆ ProductMatrices3X3()

static void Kratos::GeometryFunctions::ProductMatrices3X3 ( const double  Matrix1[3][3],
const double  Matrix2[3][3],
double  Matrix3[3][3] 
)
inlinestatic

◆ ProductMatrix3X3Vector3X1()

static void Kratos::GeometryFunctions::ProductMatrix3X3Vector3X1 ( const double  Matrix[3][3],
const array_1d< double, 3 > &  Vector1,
array_1d< double, 3 > &  Vector2 
)
inlinestatic

◆ QuadAngleWeight()

static void Kratos::GeometryFunctions::QuadAngleWeight ( double  Coord1[3],
double  Coord2[3],
double  Coord3[3],
double  Coord4[3],
double  JudgeCoord[3],
double  Weight[4] 
)
inlinestatic

◆ QuaternionTensorLocal2Global()

static void Kratos::GeometryFunctions::QuaternionTensorLocal2Global ( const Quaternion< double > &  Q,
const double  LocalTensor[3][3],
double  GlobalTensor[3][3] 
)
inlinestatic

◆ QuaternionToGiDEulerAngles()

void Kratos::GeometryFunctions::QuaternionToGiDEulerAngles ( const Quaternion< double > &  quaternion,
array_1d< double, 3 > &  EulerAngles 
)
inline

◆ QuaternionVectorGlobal2Local()

static void Kratos::GeometryFunctions::QuaternionVectorGlobal2Local ( const Quaternion< double > &  Q,
const array_1d< double, 3 > &  GlobalVector,
array_1d< double, 3 > &  LocalVector 
)
inlinestatic

◆ QuaternionVectorLocal2Global()

static void Kratos::GeometryFunctions::QuaternionVectorLocal2Global ( const Quaternion< double > &  Q,
const array_1d< double, 3 > &  LocalVector,
array_1d< double, 3 > &  GlobalVector 
)
inlinestatic

◆ RotaMatrixTensorLocal2Global()

static void Kratos::GeometryFunctions::RotaMatrixTensorLocal2Global ( const double  R[3][3],
const double  LocalTensor[3][3],
double  GlobalTensor[3][3] 
)
inlinestatic

◆ RotateAVectorAGivenAngleAroundAUnitaryVector()

static void Kratos::GeometryFunctions::RotateAVectorAGivenAngleAroundAUnitaryVector ( const array_1d< double, 3 > &  old_vec,
const array_1d< double, 3 > &  axis,
const double  ang,
array_1d< double, 3 > &  new_vec 
)
inlinestatic

◆ RotateCoordToDirection()

static void Kratos::GeometryFunctions::RotateCoordToDirection ( const double  OLdCoordSystem[3][3],
double  Vector[3],
double  NewCoordSystem[3][3] 
)
inlinestatic

◆ RotateGridOfNodes()

static void Kratos::GeometryFunctions::RotateGridOfNodes ( const double  time,
const double  angular_velocity_start_time,
const double  angular_velocity_stop_time,
array_1d< double, 3 > &  angular_velocity_changed,
const double  angular_period,
const double  mod_angular_velocity,
const array_1d< double, 3 > &  angular_velocity,
array_1d< double, 3 > &  new_axes1,
array_1d< double, 3 > &  new_axes2,
array_1d< double, 3 > &  new_axes3 
)
inlinestatic

◆ RotatePointAboutArbitraryLine()

static void Kratos::GeometryFunctions::RotatePointAboutArbitraryLine ( array_1d< double, 3 > &  TargetPoint,
const array_1d< double, 3 > &  CentrePoint,
const array_1d< double, 3 > &  LineVector,
const double  RotationAngle 
)
inlinestatic

◆ RotateRightHandedBasisAroundAxis()

static void Kratos::GeometryFunctions::RotateRightHandedBasisAroundAxis ( const array_1d< double, 3 > &  e1,
const array_1d< double, 3 > &  e2,
const array_1d< double, 3 > &  axis,
const double  ang,
array_1d< double, 3 > &  new_axes1,
array_1d< double, 3 > &  new_axes2,
array_1d< double, 3 > &  new_axes3 
)
inlinestatic

◆ sign()

static int Kratos::GeometryFunctions::sign ( const double  a)
inlinestatic

◆ TensorGlobal2Local()

static void Kratos::GeometryFunctions::TensorGlobal2Local ( const double  LocalCoordSystem[3][3],
const double  GlobalTensor[3][3],
double  LocalTensor[3][3] 
)
inlinestatic

◆ TensorLocal2Global()

static void Kratos::GeometryFunctions::TensorLocal2Global ( const double  LocalCoordSystem[3][3],
const double  LocalTensor[3][3],
double  GlobalTensor[3][3] 
)
inlinestatic

◆ TranslateGridOfNodes()

static void Kratos::GeometryFunctions::TranslateGridOfNodes ( const double  time,
const double  velocity_start_time,
const double  velocity_stop_time,
array_1d< double, 3 > &  center_position,
const array_1d< double, 3 > &  initial_center,
array_1d< double, 3 > &  previous_displ,
array_1d< double, 3 > &  linear_velocity_changed,
const double  linear_period,
const double  dt,
const array_1d< double, 3 > &  linear_velocity 
)
inlinestatic

◆ TriAngleArea()

static void Kratos::GeometryFunctions::TriAngleArea ( double  Coord1[3],
double  Coord2[3],
double  Coord3[3],
double area 
)
inlinestatic

◆ TriAngleWeight()

static void Kratos::GeometryFunctions::TriAngleWeight ( double  Coord1[3],
double  Coord2[3],
double  Coord3[3],
double  JudgeCoord[3],
double  Weight[3] 
)
inlinestatic

◆ UpdateKinematicVariablesOfAGridOfNodes()

static void Kratos::GeometryFunctions::UpdateKinematicVariablesOfAGridOfNodes ( double  mod_angular_velocity,
const array_1d< double, 3 > &  linear_velocity,
const array_1d< double, 3 > &  initial_center,
array_1d< double, 3 > &  new_axes1,
array_1d< double, 3 > &  new_axes2,
array_1d< double, 3 > &  new_axes3,
array_1d< double, 3 > &  angular_velocity_changed,
array_1d< double, 3 > &  linear_velocity_changed,
array_1d< double, 3 > &  center_position,
const bool  fixed_mesh,
const double  dt,
ModelPart::NodesContainerType pNodes 
)
inlinestatic

◆ UpdateOrientation() [1/3]

static void Kratos::GeometryFunctions::UpdateOrientation ( array_1d< double, 3 > &  EulerAngles,
Quaternion< double > &  Orientation,
const array_1d< double, 3 > &  DeltaRotation 
)
inlinestatic

◆ UpdateOrientation() [2/3]

static void Kratos::GeometryFunctions::UpdateOrientation ( const Quaternion< double > &  Orientation,
Quaternion< double > &  NewOrientation,
const array_1d< double, 3 > &  DeltaRotation 
)
inlinestatic

◆ UpdateOrientation() [3/3]

static void Kratos::GeometryFunctions::UpdateOrientation ( Quaternion< double > &  Orientation,
const array_1d< double, 3 > &  DeltaRotation 
)
inlinestatic

◆ VectorGlobal2Local() [1/3]

static void Kratos::GeometryFunctions::VectorGlobal2Local ( const double  LocalCoordSystem[3][3],
const array_1d< double, 3 > &  GlobalVector,
array_1d< double, 3 > &  LocalVector 
)
inlinestatic

◆ VectorGlobal2Local() [2/3]

static void Kratos::GeometryFunctions::VectorGlobal2Local ( const double  LocalCoordSystem[3][3],
const array_1d< double, 3 > &  GlobalVector,
double  LocalVector[3] 
)
inlinestatic

◆ VectorGlobal2Local() [3/3]

static void Kratos::GeometryFunctions::VectorGlobal2Local ( const double  LocalCoordSystem[3][3],
const double  GlobalVector[3],
double  LocalVector[3] 
)
inlinestatic

◆ VectorLocal2Global() [1/4]

static void Kratos::GeometryFunctions::VectorLocal2Global ( const double  LocalCoordSystem[3][3],
const array_1d< double, 3 > &  LocalVector,
array_1d< double, 3 > &  GlobalVector 
)
inlinestatic

◆ VectorLocal2Global() [2/4]

static void Kratos::GeometryFunctions::VectorLocal2Global ( const double  LocalCoordSystem[3][3],
const array_1d< double, 3 > &  LocalVector,
double  GlobalVector[3] 
)
inlinestatic

◆ VectorLocal2Global() [3/4]

static void Kratos::GeometryFunctions::VectorLocal2Global ( const double  LocalCoordSystem[3][3],
const double  LocalVector[3],
array_1d< double, 3 > &  GlobalVector 
)
inlinestatic

◆ VectorLocal2Global() [4/4]

static void Kratos::GeometryFunctions::VectorLocal2Global ( const double  LocalCoordSystem[3][3],
const double  LocalVector[3],
double  GlobalVector[3] 
)
inlinestatic

◆ VertexCheck()

static bool Kratos::GeometryFunctions::VertexCheck ( const array_1d< double, 3 > &  Coord,
const array_1d< double, 3 > &  Particle_Coord,
double  Radius,
double  LocalCoordSystem[3][3],
double DistParticleToVertex 
)
inlinestatic

◆ WeightsCalculation()

static void Kratos::GeometryFunctions::WeightsCalculation ( std::vector< double Area,
std::vector< double > &  Weight 
)
inlinestatic