24#ifndef MATERIAL_PROPERTIES_H
25#define MATERIAL_PROPERTIES_H
37template <
typename T,
unsigned N>
40 T materialProperties[N][2];
47 void set(
const unsigned material,
const T youngsModulus,
48 const T poissonRatio);
Top level namespace for all of OpenLB.
Class storing properties that are necessary for the computation of the contact orce N = number of dif...
void set(const unsigned material, const T youngsModulus, const T poissonRatio)
Set material properties.
const T getPoissonsRatio(const unsigned material) const
Get Poisson's ratio.
MaterialProperties()=default
Constructor.
const T getYoungsModulus(const unsigned material) const
Get modulus of elasticity.