22 lines
477 B
C++
22 lines
477 B
C++
#pragma once
|
|
|
|
#include "fesa/material/Material.hpp"
|
|
|
|
namespace fesa::material {
|
|
|
|
class LinearElasticMaterial final : public Material {
|
|
public:
|
|
LinearElasticMaterial(MaterialId id, double young_modulus, double poisson_ratio);
|
|
|
|
MaterialId id() const noexcept override;
|
|
double youngModulus() const noexcept;
|
|
double poissonRatio() const noexcept;
|
|
|
|
private:
|
|
MaterialId id_;
|
|
double young_modulus_;
|
|
double poisson_ratio_;
|
|
};
|
|
|
|
} // namespace fesa::material
|