15 template <
typename FieldLHS,
typename FieldRHS>
17 constexpr static unsigned Dim = FieldLHS::dim;
18 typedef typename FieldLHS::Mesh_t
Mesh;
26 using Tlhs =
typename FieldLHS::value_type;
27 using Trhs =
typename FieldRHS::value_type;
47 static_assert(std::is_floating_point<Trhs>::value,
"Not a floating point type");
56 static_assert(std::is_floating_point<Trhs>::value,
"Not a floating point type");
detail::meta_grad< Field > grad(Field &u)
Vector< vector_type, Dim > matrix_type
Field< Vector< Tlhs, Dim >, Dim, Mesh, Centering > grad_type
Poisson(lhs_type &lhs, rhs_type &rhs)
virtual MField_t * getHessian()
Mesh::matrix_type Matrix_t
typename FieldRHS::value_type Trhs
static constexpr unsigned Dim
void mergeParameters(const ParameterList ¶ms)
virtual void setDefaultParameters()
void setLhs(lhs_type &lhs)
Field< Matrix_t, Dim, Mesh, Centering > MField_t
FieldLHS::Centering_t Centering
virtual void setRhs(rhs_type &rhs)
void updateParameters(const ParameterList ¶ms)
void setGradient(grad_type &grad)
void updateParameter(const std::string &key, const T &value)
typename FieldLHS::value_type Tlhs
void add(const std::string &key, const T &value)