www.mooseframework.org
DerivativeSumMaterial.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef DERIVATIVESUMMATERIAL_H
8 #define DERIVATIVESUMMATERIAL_H
9 
11 
13 
14 template <>
15 InputParameters validParams<DerivativeSumMaterial>();
16 
18 {
19 public:
20  DerivativeSumMaterial(const InputParameters & parameters);
21 
22  virtual void initialSetup();
23 
24 protected:
25  virtual void computeProperties();
26 
27  std::vector<std::string> _sum_materials;
28  unsigned int _num_materials;
29 
31  std::vector<Real> _prefactor;
32  Real _constant;
33 
35  std::vector<const MaterialProperty<Real> *> _summand_F;
36 
38  std::vector<std::vector<const MaterialProperty<Real> *>> _summand_dF;
39 
41  std::vector<std::vector<std::vector<const MaterialProperty<Real> *>>> _summand_d2F;
42 
44  std::vector<std::vector<std::vector<std::vector<const MaterialProperty<Real> *>>>> _summand_d3F;
45 };
46 
47 #endif // DERIVATIVESUMMATERIAL_H
std::vector< std::vector< std::vector< const MaterialProperty< Real > * > > > _summand_d2F
Second derivatives of the summands.
InputParameters validParams< DerivativeSumMaterial >()
std::vector< std::vector< std::vector< std::vector< const MaterialProperty< Real > * > > > > _summand_d3F
Third derivatives of the summands.
Material base class central to compute the a phase free energy and its derivatives.
virtual void initialSetup()
Check if we got the right number of components in the &#39;args&#39; coupled variable vector.
std::vector< Real > _prefactor
arguments to construct a sum of the form
DerivativeSumMaterial(const InputParameters &parameters)
std::vector< std::vector< const MaterialProperty< Real > * > > _summand_dF
Derivatives of the summands with respect to arg[i].
std::vector< std::string > _sum_materials
std::vector< const MaterialProperty< Real > * > _summand_F
Function values of the summands.