16 #ifndef __H2D_DISCRETE_PROBLEM_HELPERS_H
17 #define __H2D_DISCRETE_PROBLEM_HELPERS_H
19 #include "hermes_common.h"
20 #include "weakform/weakform.h"
28 template<
typename Scalar>
36 virtual void set_RK(
int original_spaces_count,
bool force_diagonal_blocks =
nullptr, Table* block_weights =
nullptr);
44 bool force_diagonal_blocks;
53 template<
typename Scalar>
68 template<
typename Scalar>
74 virtual bool set_matrix(SparseMatrix<Scalar>* mat);
75 virtual bool set_rhs(Vector<Scalar>* rhs);
77 SparseMatrix<Scalar>* current_mat;
78 Vector<Scalar>* current_rhs;
86 HERMES_API
unsigned char init_surface_geometry_points_allocated(
RefMap** reference_mapping,
unsigned short reference_mapping_count,
int& order,
unsigned char isurf,
int marker,
GeomSurf<double>& geometry,
double* jacobian_x_weights);
87 HERMES_API
unsigned char init_surface_geometry_points_allocated(
RefMap* rep_reference_mapping,
int& order,
unsigned char isurf,
int marker,
GeomSurf<double>& geometry,
double* jacobian_x_weights);
bool rungeKutta
Turn on Runge-Kutta specific handling of external functions.
int RK_original_spaces_count
Number of spaces in the original problem in a Runge-Kutta method.
Represents the reference mapping.
HERMES_API unsigned char init_geometry_points_allocated(RefMap **reference_mapping, unsigned short reference_mapping_count, int order, GeomVol< double > &geometry, double *jacobian_x_weights)