34 #ifndef __H__UG__LIB_DISC__SPATIAL_DISC__ELEM_DISC__ELEM_DISC_INTERFACE_IMPL__
35 #define __H__UG__LIB_DISC__SPATIAL_DISC__ELEM_DISC__ELEM_DISC_INTERFACE_IMPL__
46 template <
typename TLeaf,
typename TDomain>
47 template<
typename TAssFunc>
50 m_vPrepareTimestepFct[algebra_id] =
static_cast<PrepareTimestepFct
>(
func);
52 template <
typename TLeaf,
typename TDomain>
55 m_vPrepareTimestepFct[algebra_id] = NULL;
58 template <
typename TLeaf,
typename TDomain>
59 template<
typename TAssFunc>
62 m_vPrepareTimestepElemFct[id] =
static_cast<PrepareTimestepElemFct
>(
func);
64 template <
typename TLeaf,
typename TDomain>
67 m_vPrepareTimestepElemFct[id] = NULL;
70 template <
typename TLeaf,
typename TDomain>
71 template<
typename TAssFunc>
74 m_vPrepareElemFct[id] =
static_cast<PrepareElemFct
>(
func);
76 template <
typename TLeaf,
typename TDomain>
79 m_vPrepareElemFct[id] = NULL;
82 template <
typename TLeaf,
typename TDomain>
83 template<
typename TAssFunc>
86 m_vPrepareElemLoopFct[id] =
static_cast<PrepareElemLoopFct
>(
func);
88 template <
typename TLeaf,
typename TDomain>
91 m_vPrepareElemLoopFct[id] = NULL;
94 template <
typename TLeaf,
typename TDomain>
95 template<
typename TAssFunc>
98 m_vFinishElemLoopFct[id] =
static_cast<FinishElemLoopFct
>(
func);
100 template <
typename TLeaf,
typename TDomain>
103 m_vFinishElemLoopFct[id] = NULL;
106 template <
typename TLeaf,
typename TDomain>
107 template<
typename TAssFunc>
110 m_vElemJAFct[id] =
static_cast<ElemJAFct
>(
func);
112 template <
typename TLeaf,
typename TDomain>
115 m_vElemJAFct[id] = NULL;
118 template <
typename TLeaf,
typename TDomain>
119 template<
typename TAssFunc>
122 m_vElemJMFct[id] =
static_cast<ElemJMFct
>(
func);
124 template <
typename TLeaf,
typename TDomain>
127 m_vElemJMFct[id] = NULL;
130 template <
typename TLeaf,
typename TDomain>
131 template<
typename TAssFunc>
134 m_vElemdAFct[id] =
static_cast<ElemdAFct
>(
func);
136 template <
typename TLeaf,
typename TDomain>
139 m_vElemdAFct[id] = NULL;
142 template <
typename TLeaf,
typename TDomain>
143 template<
typename TAssFunc>
146 m_vElemdAExplFct[id] =
static_cast<ElemdAFct
>(
func);
148 template <
typename TLeaf,
typename TDomain>
151 m_vElemdAExplFct[id] = NULL;
154 template <
typename TLeaf,
typename TDomain>
155 template<
typename TAssFunc>
158 m_vElemdMFct[id] =
static_cast<ElemdMFct
>(
func);
160 template <
typename TLeaf,
typename TDomain>
163 m_vElemdMFct[id] = NULL;
166 template <
typename TLeaf,
typename TDomain>
167 template<
typename TAssFunc>
170 m_vElemRHSFct[id] =
static_cast<ElemRHSFct
>(
func);
172 template <
typename TLeaf,
typename TDomain>
175 m_vElemRHSFct[id] = NULL;
178 template <
typename TLeaf,
typename TDomain>
179 template<
typename TAssFunc>
182 m_vFinishTimestepFct[algebra_id] =
static_cast<FinishTimestepFct
>(
func);
184 template <
typename TLeaf,
typename TDomain>
187 m_vFinishTimestepFct[algebra_id] = NULL;
190 template <
typename TLeaf,
typename TDomain>
191 template<
typename TAssFunc>
194 m_vFinishTimestepElemFct[id] =
static_cast<FinishTimestepElemFct
>(
func);
196 template <
typename TLeaf,
typename TDomain>
199 m_vFinishTimestepElemFct[id] = NULL;
202 template <
typename TLeaf,
typename TDomain>
203 template<
typename TAssFunc>
206 m_vPrepareErrEstElemLoopFct[id] =
static_cast<PrepareErrEstElemLoopFct
>(
func);
208 template <
typename TLeaf,
typename TDomain>
211 m_vPrepareErrEstElemLoopFct[id] = NULL;
214 template <
typename TLeaf,
typename TDomain>
215 template<
typename TAssFunc>
218 m_vPrepareErrEstElemFct[id] =
static_cast<PrepareErrEstElemFct
>(
func);
220 template <
typename TLeaf,
typename TDomain>
223 m_vPrepareErrEstElemFct[id] = NULL;
226 template <
typename TLeaf,
typename TDomain>
227 template<
typename TAssFunc>
230 m_vElemComputeErrEstAFct[id] =
static_cast<ElemComputeErrEstAFct
>(
func);
232 template <
typename TLeaf,
typename TDomain>
235 m_vElemComputeErrEstAFct[id] = NULL;
238 template <
typename TLeaf,
typename TDomain>
239 template<
typename TAssFunc>
242 m_vElemComputeErrEstMFct[id] =
static_cast<ElemComputeErrEstMFct
>(
func);
244 template <
typename TLeaf,
typename TDomain>
247 m_vElemComputeErrEstMFct[id] = NULL;
250 template <
typename TLeaf,
typename TDomain>
251 template<
typename TAssFunc>
254 m_vElemComputeErrEstRhsFct[id] =
static_cast<ElemComputeErrEstRhsFct
>(
func);
256 template <
typename TLeaf,
typename TDomain>
259 m_vElemComputeErrEstRhsFct[id] = NULL;
262 template <
typename TLeaf,
typename TDomain>
263 template<
typename TAssFunc>
266 m_vFinishErrEstElemLoopFct[id] =
static_cast<FinishErrEstElemLoopFct
>(
func);
268 template <
typename TLeaf,
typename TDomain>
271 m_vFinishErrEstElemLoopFct[id] = NULL;
void set_prep_timestep_elem_fct(ReferenceObjectID id, TAssFunc func)
current Geometric Object
Definition: elem_disc_interface_impl.h:60
void set_prep_elem_loop_fct(ReferenceObjectID id, TAssFunc func)
current Geometric Object
Definition: elem_disc_interface_impl.h:84
void remove_add_jac_M_elem_fct(ReferenceObjectID id)
current Geometric Object
Definition: elem_disc_interface_impl.h:125
void remove_prep_timestep_fct(size_t algebra_id)
current Geometric Object
Definition: elem_disc_interface_impl.h:53
void remove_fsh_elem_loop_fct(ReferenceObjectID id)
current Geometric Object
Definition: elem_disc_interface_impl.h:101
void set_add_jac_M_elem_fct(ReferenceObjectID id, TAssFunc func)
current Geometric Object
Definition: elem_disc_interface_impl.h:120
void remove_fsh_timestep_elem_fct(ReferenceObjectID id)
current Geometric Object
Definition: elem_disc_interface_impl.h:197
void set_fsh_elem_loop_fct(ReferenceObjectID id, TAssFunc func)
current Geometric Object
Definition: elem_disc_interface_impl.h:96
void remove_prep_elem_loop_fct(ReferenceObjectID id)
current Geometric Object
Definition: elem_disc_interface_impl.h:89
void set_fsh_timestep_fct(size_t algebra_id, TAssFunc func)
current Geometric Object
Definition: elem_disc_interface_impl.h:180
void remove_fsh_timestep_fct(size_t algebra_id)
current Geometric Object
Definition: elem_disc_interface_impl.h:185
void set_prep_timestep_fct(size_t algebra_id, TAssFunc func)
current Geometric Object
Definition: elem_disc_interface_impl.h:48
void remove_add_def_M_elem_fct(ReferenceObjectID id)
current Geometric Object
Definition: elem_disc_interface_impl.h:161
void remove_add_rhs_elem_fct(ReferenceObjectID id)
current Geometric Object
Definition: elem_disc_interface_impl.h:173
void remove_add_jac_A_elem_fct(ReferenceObjectID id)
current Geometric Object
Definition: elem_disc_interface_impl.h:113
void set_add_def_A_elem_fct(ReferenceObjectID id, TAssFunc func)
current Geometric Object
Definition: elem_disc_interface_impl.h:132
void set_add_def_A_expl_elem_fct(ReferenceObjectID id, TAssFunc func)
current Geometric Object
Definition: elem_disc_interface_impl.h:144
void remove_add_def_A_expl_elem_fct(ReferenceObjectID id)
current Geometric Object
Definition: elem_disc_interface_impl.h:149
void remove_prep_timestep_elem_fct(ReferenceObjectID id)
current Geometric Object
Definition: elem_disc_interface_impl.h:65
void set_add_jac_A_elem_fct(ReferenceObjectID id, TAssFunc func)
current Geometric Object
Definition: elem_disc_interface_impl.h:108
void set_add_def_M_elem_fct(ReferenceObjectID id, TAssFunc func)
current Geometric Object
Definition: elem_disc_interface_impl.h:156
void set_add_rhs_elem_fct(ReferenceObjectID id, TAssFunc func)
current Geometric Object
Definition: elem_disc_interface_impl.h:168
void set_prep_elem_fct(ReferenceObjectID id, TAssFunc func)
current Geometric Object
Definition: elem_disc_interface_impl.h:72
void remove_prep_elem_fct(ReferenceObjectID id)
current Geometric Object
Definition: elem_disc_interface_impl.h:77
void remove_add_def_A_elem_fct(ReferenceObjectID id)
current Geometric Object
Definition: elem_disc_interface_impl.h:137
void set_fsh_timestep_elem_fct(ReferenceObjectID id, TAssFunc func)
current Geometric Object
Definition: elem_disc_interface_impl.h:192
void set_compute_err_est_A_elem(ReferenceObjectID id, TAssFunc func)
Definition: elem_disc_interface_impl.h:228
void set_prep_err_est_elem(ReferenceObjectID id, TAssFunc func)
Definition: elem_disc_interface_impl.h:216
void remove_compute_err_est_A_elem(ReferenceObjectID id)
Definition: elem_disc_interface_impl.h:233
void set_fsh_err_est_elem_loop(ReferenceObjectID id, TAssFunc func)
Definition: elem_disc_interface_impl.h:264
void set_prep_err_est_elem_loop(ReferenceObjectID id, TAssFunc func)
Definition: elem_disc_interface_impl.h:204
void remove_compute_err_est_M_elem(ReferenceObjectID id)
Definition: elem_disc_interface_impl.h:245
void remove_prep_err_est_elem_loop(ReferenceObjectID id)
Definition: elem_disc_interface_impl.h:209
void set_compute_err_est_rhs_elem(ReferenceObjectID id, TAssFunc func)
Definition: elem_disc_interface_impl.h:252
void remove_compute_err_est_rhs_elem(ReferenceObjectID id)
Definition: elem_disc_interface_impl.h:257
void remove_fsh_err_est_elem_loop(ReferenceObjectID id)
Definition: elem_disc_interface_impl.h:269
void set_compute_err_est_M_elem(ReferenceObjectID id, TAssFunc func)
Definition: elem_disc_interface_impl.h:240
void remove_prep_err_est_elem(ReferenceObjectID id)
Definition: elem_disc_interface_impl.h:221
ReferenceObjectID
these ids are used to identify the shape of a geometric object.
Definition: grid_base_objects.h:74
function func(x, y, z, t, si)