https://mooseframework.inl.gov
ConstantsFromElasticityTensor.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "Material.h"
13 #include "RankFourTensor.h"
14 #include "GuaranteeConsumer.h"
15 
20 template <bool is_ad>
22 {
23 public:
25 
27  void initialSetup() override;
28 
29 protected:
30  void computeQpProperties() override;
31 
32 private:
34  const std::string _base_name;
35 
42 
44  const std::string _elasticity_tensor_name;
45 
48 };
49 
GenericMaterialProperty< Real, is_ad > & _youngs_modulus
{@ Elastic constants computed from tensor
ConstantsFromElasticityTensorTempl< false > ConstantsFromElasticityTensor
const InputParameters & parameters() const
const GenericMaterialProperty< RankFourTensor, is_ad > & _elasticity_tensor
The computed elastic constant.
const std::string _base_name
Base name of the material system.
This material computes the elastic constants such as Young&#39;s modulus from the elasticity tensor...
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
GenericMaterialProperty< Real, is_ad > & _shear_modulus
ConstantsFromElasticityTensorTempl< true > ADConstantsFromElasticityTensor
GenericMaterialProperty< Real, is_ad > & _poissons_ratio
const std::string _elasticity_tensor_name
Name of elasticity tensor.
Add-on class that provides the functionality to check if guarantees for material properties are provi...
GenericMaterialProperty< Real, is_ad > & _bulk_modulus
ConstantsFromElasticityTensorTempl(const InputParameters &parameters)