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.
Public Member Functions | List of all members
Kratos::DensityFunctionPolynomial< TDim > Class Template Reference

#include <density_function_polynomial.h>

Inheritance diagram for Kratos::DensityFunctionPolynomial< TDim >:
Collaboration diagram for Kratos::DensityFunctionPolynomial< TDim >:

Public Member Functions

 KRATOS_CLASS_POINTER_DEFINITION (DensityFunctionPolynomial)
 
 DensityFunctionPolynomial (const double range, const double shape_factor)
 
virtual ~DensityFunctionPolynomial ()
 
void ComputeWeights (std::vector< double > &distances, std::vector< double > &nodal_areas, std::vector< double > &weights)
 
void ComputeWeights (std::vector< double > &distances, std::vector< double > &nodal_areas, const double max_nodal_area_inv, std::vector< double > &weights)
 
- Public Member Functions inherited from Kratos::DensityFunction< TDim >
 KRATOS_CLASS_POINTER_DEFINITION (DensityFunction)
 
 DensityFunction ()
 
virtual ~DensityFunction ()
 

Constructor & Destructor Documentation

◆ DensityFunctionPolynomial()

template<unsigned int TDim>
Kratos::DensityFunctionPolynomial< TDim >::DensityFunctionPolynomial ( const double  range,
const double  shape_factor 
)
inline

◆ ~DensityFunctionPolynomial()

template<unsigned int TDim>
virtual Kratos::DensityFunctionPolynomial< TDim >::~DensityFunctionPolynomial ( )
inlinevirtual

Member Function Documentation

◆ ComputeWeights() [1/2]

template<unsigned int TDim>
void Kratos::DensityFunctionPolynomial< TDim >::ComputeWeights ( std::vector< double > &  distances,
std::vector< double > &  nodal_areas,
const double  max_nodal_area_inv,
std::vector< double > &  weights 
)
inline

◆ ComputeWeights() [2/2]

template<unsigned int TDim>
void Kratos::DensityFunctionPolynomial< TDim >::ComputeWeights ( std::vector< double > &  distances,
std::vector< double > &  nodal_areas,
std::vector< double > &  weights 
)
inline

◆ KRATOS_CLASS_POINTER_DEFINITION()

template<unsigned int TDim>
Kratos::DensityFunctionPolynomial< TDim >::KRATOS_CLASS_POINTER_DEFINITION ( DensityFunctionPolynomial< TDim >  )

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