Hi all,
I have a form with several coefficients like:
NonlinearProblem::ResidualForm F(functionspace);
F.coefficent_a = coefficent_a;
F.coefficent_b = coefficent_b;
Is is possible to output these coefficients of F, so that I can be more confident that the assignment of the coefficient is correct?
I just found that I can get the coefficent by:
std::shared_ptr <const GenericFunction> a(F.coefficient("coefficent_a"));;
But still have no idea to output a GenericFunction.
Thanks.