Dune-Fufem 2.11-git
Loading...
Searching...
No Matches
elasticitytensor.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright © DUNE-FUFEM Project contributors, see file AUTHORS.md
2// SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception OR LGPL-3.0-or-later
3
4#ifndef ELASTICITYTENSOR_HH
5#define ELASTICITYTENSOR_HH
6
8
11template <int dim>
12class ElasticityTensor : public Dune::FieldMatrix<double, (dim+1)*dim/2, (dim+1)*dim/2>
13{
14 public:
17
19 ElasticityTensor(const double a): Dune::FieldMatrix<double, (dim+1)*dim/2, (dim+1)*dim/2>(a) {}
20
21 using Dune::FieldMatrix<double, (dim+1)*dim/2, (dim+1)*dim/2>::operator=;
22};
23
24#endif
size_type dim() const
constexpr FieldMatrix() noexcept(std::is_nothrow_default_constructible_v< K >)
Base class for elasticity tensors in Voigt notation.
Definition elasticitytensor.hh:13
ElasticityTensor()
Default constructor.
Definition elasticitytensor.hh:16
ElasticityTensor(const double a)
Definition elasticitytensor.hh:19