15 const MaterialPropertyName
17 const MaterialPropertyName & base,
const std::vector<SymbolName> & c)
const 20 std::vector<SymbolName> a(c);
21 std::sort(a.begin(), a.end());
24 unsigned int order = a.size();
29 std::stringstream
name;
38 unsigned int exponent = 1;
39 for (
unsigned i = 1; i <= order; ++i)
41 if (i == order || a[i - 1] != a[i])
43 name <<
'd' << a[i - 1];
45 name <<
'^' << exponent;
55 const MaterialPropertyName
57 const MaterialPropertyName & base,
const SymbolName & c1)
const 59 return "d" + base +
"/d" + c1;
62 const MaterialPropertyName
69 const MaterialPropertyName
71 const MaterialPropertyName & base,
std::string name(const ElemQuality q)
const MaterialPropertyName derivativePropertyNameSecond(const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2) const
Helper functions to generate the material property names for the second derivatives.
const MaterialPropertyName derivativePropertyNameFirst(const MaterialPropertyName &base, const SymbolName &c1) const
Helper functions to generate the material property names for the first derivatives.
const MaterialPropertyName derivativePropertyName(const MaterialPropertyName &base, const std::vector< SymbolName > &c) const
Helper functions to generate the material property names for the arbitrary derivatives.
const MaterialPropertyName derivativePropertyNameThird(const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2, const SymbolName &c3) const
Helper functions to generate the material property names for the third derivatives.