CompressibleNeoHooke.h
Go to the documentation of this file.
1 /* ---------------------------------------------------------------------
2  * _
3  * _ __ ___ __ _ _ __ _ __ ___ ___ | |_
4  * | '_ ` _ \ / _` | '__| '_ ` _ \ / _ \| __|
5  * | | | | | | (_| | | | | | | | | (_) | |_
6  * |_| |_| |_|\__,_|_| |_| |_| |_|\___/ \__|
7  *
8  * Unit of Strength of Materials and Structural Analysis
9  * University of Innsbruck
10  * 2020 - today
11  *
12  * festigkeitslehre@uibk.ac.at
13  *
14  * Alexander Dummer alexander.dummer@uibk.ac.at
15  *
16  * This file is part of the MAteRialMOdellingToolbox (marmot).
17  *
18  * This library is free software; you can redistribute it and/or
19  * modify it under the terms of the GNU Lesser General Public
20  * License as published by the Free Software Foundation; either
21  * version 2.1 of the License, or (at your option) any later version.
22  *
23  * The full text of the license can be found in the file LICENSE.md at
24  * the top level directory of marmot.
25  * ---------------------------------------------------------------------
26  */
27 
28 #pragma once
30 #include <string>
31 
32 namespace Marmot::Materials {
33 
35  public:
36  using MarmotMaterialFiniteStrain::MarmotMaterialFiniteStrain;
37 
38  CompressibleNeoHooke( const double* materialProperties, int nMaterialProperties, int materialLabel );
39 
40  static constexpr int nStateVarsRequired = 0;
41 
44  const Deformation< 3 >&,
45  const TimeIncrement& );
46 
48 
49  void assignStateVars( double* stateVars, int nStateVars )
50  {
51  this->stateVars = stateVars;
52  this->nStateVars = nStateVars;
53  };
54 
55  StateView getStateView( const std::string& result );
56  };
57 
58 } // namespace Marmot::Materials
MarmotMaterialFiniteStrain
Definition: MarmotMaterialFiniteStrain.h:33
MarmotMaterialFiniteStrain::ConstitutiveResponse
Definition: MarmotMaterialFiniteStrain.h:40
Marmot::Materials
Definition: MarmotKelvinChain.h:34
Marmot::Materials::CompressibleNeoHooke
Definition: CompressibleNeoHooke.h:34
MarmotMaterialFiniteStrain::Deformation
Definition: MarmotMaterialFiniteStrain.h:52
Marmot::Materials::CompressibleNeoHooke::nStateVarsRequired
static constexpr int nStateVarsRequired
Definition: CompressibleNeoHooke.h:40
Marmot::Materials::CompressibleNeoHooke::CompressibleNeoHooke
CompressibleNeoHooke(const double *materialProperties, int nMaterialProperties, int materialLabel)
Definition: CompressibleNeoHooke.cpp:21
StateView
Definition: MarmotUtils.h:29
MarmotMaterialFiniteStrain::TimeIncrement
Definition: MarmotMaterialFiniteStrain.h:56
MarmotMaterialFiniteStrain::AlgorithmicModuli
Definition: MarmotMaterialFiniteStrain.h:47
Marmot::Materials::CompressibleNeoHooke::getNumberOfRequiredStateVars
int getNumberOfRequiredStateVars()
Definition: CompressibleNeoHooke.h:47
Marmot::Materials::CompressibleNeoHooke::assignStateVars
void assignStateVars(double *stateVars, int nStateVars)
Definition: CompressibleNeoHooke.h:49
MarmotMaterialFiniteStrain.h
MarmotMaterial::stateVars
double * stateVars
Definition: MarmotMaterial.h:38
Marmot::Materials::CompressibleNeoHooke::getStateView
StateView getStateView(const std::string &result)
Definition: CompressibleNeoHooke.cpp:57
Marmot::Materials::CompressibleNeoHooke::computeStress
void computeStress(ConstitutiveResponse< 3 > &, AlgorithmicModuli< 3 > &, const Deformation< 3 > &, const TimeIncrement &)
Definition: CompressibleNeoHooke.cpp:28
MarmotMaterial::nStateVars
int nStateVars
Definition: MarmotMaterial.h:39
MarmotMaterial::nMaterialProperties
const int nMaterialProperties
Definition: MarmotMaterial.h:36
MarmotMaterial::materialProperties
const double * materialProperties
Definition: MarmotMaterial.h:35