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.
List of all members
Kratos::MetricsMathUtils< TDim > Class Template Reference

This class is used to compute some mathematical operations needed for the metrics computing. More...

#include <metrics_math_utils.h>

Collaboration diagram for Kratos::MetricsMathUtils< TDim >:

Public Types

Type Definitions
typedef std::conditional< TDim==2, array_1d< double, 3 >, array_1d< double, 6 > >::type TensorArrayType
 The type of array considered for the tensor. More...
 
typedef BoundedMatrix< double, TDim, TDim > MatrixType
 The definition of the matrix type. More...
 

Static Public Member Functions

Operations
static TensorArrayType IntersectMetrics (const TensorArrayType &rMetric1, const TensorArrayType &rMetric2)
 It computes the intersection between two metrics. More...
 

Detailed Description

template<SizeType TDim>
class Kratos::MetricsMathUtils< TDim >

This class is used to compute some mathematical operations needed for the metrics computing.

Author
Vicente Mataix Ferrandiz

Member Typedef Documentation

◆ MatrixType

template<SizeType TDim>
typedef BoundedMatrix<double, TDim, TDim> Kratos::MetricsMathUtils< TDim >::MatrixType

The definition of the matrix type.

◆ TensorArrayType

template<SizeType TDim>
typedef std::conditional<TDim == 2, array_1d<double, 3>, array_1d<double, 6> >::type Kratos::MetricsMathUtils< TDim >::TensorArrayType

The type of array considered for the tensor.

Member Function Documentation

◆ IntersectMetrics()

template<SizeType TDim>
static TensorArrayType Kratos::MetricsMathUtils< TDim >::IntersectMetrics ( const TensorArrayType rMetric1,
const TensorArrayType rMetric2 
)
inlinestatic

It computes the intersection between two metrics.

Parameters
rMetric1The first metric
rMetric2The second metric
Returns
The intersected metric

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