20 #ifndef __mast_isotropic_material_conductance_h__ 21 #define __mast_isotropic_material_conductance_h__ 29 namespace Conduction {
32 template <
typename ScalarType,
typename ConductanceType,
typename ContextType>
36 using scalar_t =
typename ConductanceType::scalar_t;
52 inline const ConductanceType&
get_k()
const {
return *
_k;}
56 Assert0(
_k,
"Material values not provided");
62 template <
typename ScalarFieldType>
64 const ScalarFieldType& f,
67 Assert0(
_k,
"Material values not provided");
69 m =
_k->derivative(c, f);
74 const ConductanceType*
_k;
85 #endif // __mast_isotropic_material_conductance_h__ void value(ContextType &c, value_t &m) const
std::true_type is_isotropic
IsotropicMaterialConductance()
#define Assert0(cond, msg)
virtual ~IsotropicMaterialConductance()
const ConductanceType * _k
void set_conductance(const ConductanceType &k)
typename ConductanceType::scalar_t scalar_t
void derivative(ContextType &c, const ScalarFieldType &f, value_t &m) const
const ConductanceType & get_k() const