Order of scalar coefficient parameters in form constructors is inconsistent
Several forms take as constructor arguments a scalar coefficient (std::function< real_t ( const Point3D & ) >
) both for 2D and for 3D.
The order of the two parameters is different among the forms:
rg "> _callback_Scalar_Variable_Coefficient_2D_k"
rg "> _callback_Scalar_Variable_Coefficient_2D_k"
src/hyteg/forms/form_hyteg_generated/p2/p2_sqrtk_mass_affine_q6.hpp: p2_sqrtk_mass_affine_q6( std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_2D_k, std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_3D_k )
src/hyteg/forms/form_hyteg_generated/p2/p2_sqrtk_mass_affine_q4.hpp: p2_sqrtk_mass_affine_q4( std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_3D_k, std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_2D_k )
src/hyteg/forms/form_hyteg_generated/p2/p2_k_mass_affine_q4.hpp: p2_k_mass_affine_q4( std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_2D_k, std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_3D_k )
src/hyteg/forms/form_hyteg_generated/p2/p2_linear_form_blending_q7.hpp: p2_linear_form_blending_q7( std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_2D_k, std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_3D_k )
src/hyteg/forms/form_hyteg_generated/p2/p2_invk_mass_affine_q6.hpp: p2_invk_mass_affine_q6( std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_3D_k, std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_2D_k )
src/hyteg/forms/form_hyteg_generated/p2/p2_div_k_grad_affine_q4.hpp: p2_div_k_grad_affine_q4( std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_2D_k, std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_3D_k )
src/hyteg/forms/form_hyteg_generated/p2/p2_linear_form_affine_q6.hpp: p2_linear_form_affine_q6( std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_2D_k, std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_3D_k )
src/hyteg/forms/form_hyteg_generated/p2/p2_div_k_grad_blending_q4.hpp: p2_div_k_grad_blending_q4( std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_2D_k, std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_3D_k )
src/hyteg/forms/form_hyteg_generated/p0/p0_linear_form_blending_q5.hpp: p0_linear_form_blending_q5( std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_2D_k, std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_3D_k )
src/hyteg/forms/form_hyteg_generated/p0/p0_linear_form_blending_q7.hpp: p0_linear_form_blending_q7( std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_2D_k, std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_3D_k )
src/hyteg/forms/form_hyteg_generated/p1/p1_k_mass_affine_q4.hpp: p1_k_mass_affine_q4( std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_3D_k, std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_2D_k )
src/hyteg/forms/form_hyteg_generated/p1/p1_invk_mass_affine_q4.hpp: p1_invk_mass_affine_q4( std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_3D_k, std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_2D_k )
src/hyteg/forms/form_hyteg_generated/p1/p1_linear_form_blending_q5.hpp: p1_linear_form_blending_q5( std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_2D_k, std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_3D_k )
src/hyteg/forms/form_hyteg_generated/p1/p1_div_k_grad_blending_q3.hpp: p1_div_k_grad_blending_q3( std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_3D_k, std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_2D_k )
src/hyteg/forms/form_hyteg_generated/p1/p1_div_k_grad_affine_q3.hpp: p1_div_k_grad_affine_q3( std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_3D_k, std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_2D_k )
src/hyteg/forms/form_hyteg_generated/p1/p1_linear_form_affine_q6.hpp: p1_linear_form_affine_q6( std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_2D_k, std::function< real_t ( const Point3D & ) > _callback_Scalar_Variable_Coefficient_3D_k )
This is problematic since both parameters have the same type, so that the compiler can not assist us in passing them in the correct order. The cause of this remains to be investigated.