/home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/model/model.hh Source File#
|
DiFfRG
|
model.hh
Go to the documentation of this file.
71 template <int dim, typename Vector> void initial_condition(const Point<dim> &x, Vector &u_i) const = delete;
90 template <int dim, typename NumberType, typename Vector, typename Vector_dot, size_t n_fe_functions>
242 template <typename Vector, typename Solution> void dt_variables(Vector &r_a, const Solution &sol) const
288 template <uint dependent, int dim, typename NumberType, typename Vector, size_t n_fe_functions_dep>
319 template <uint dependent, int dim, typename NumberType, typename Vector, size_t n_fe_functions_dep>
320 void ldg_source(std::array<NumberType, n_fe_functions_dep> &s, const Point<dim> &x, const Vector &u) const
334 void face_indicator(std::array<NumberType, 2> & /*indicator*/, const Tensor<1, dim> & /*normal*/,
340 void cell_indicator(NumberType & /*indicator*/, const Point<dim> & /*p*/, const Solution & /*sol*/) const
356 template <int dim, typename Vector> Point<dim> EoM_postprocess(const Point<dim> &EoM, const Vector &) const
377 void affine_constraints(Constraints &constraints, const std::vector<IndexSet> &component_boundary_dofs,
The abstract interface for any numerical model. Most methods have a standard implementation,...
Definition model.hh:32
std::vector< bool > differential_components() const
A method to find out which components of the mass function are differential when using a DAE.
Definition model.hh:197
void dt_variables(Vector &r_a, const Solution &sol) const
Definition model.hh:242
void source(std::array< NumberType, n_fe_functions > &s_i, const Point< dim > &x, const Solutions &sol) const
The source function is implemented by this method.
Definition model.hh:180
void cell_indicator(NumberType &, const Point< dim > &, const Solution &) const
Definition model.hh:340
void mass(std::array< std::array< NumberType, n_fe_functions >, n_fe_functions > &m_ij, const Point< dim > &x) const
If not using a DAE, the mass matrix is implemented in this method.
Definition model.hh:117
void flux(std::array< Tensor< 1, dim, NumberType >, n_fe_functions > &F_i, const Point< dim > &x, const Solutions &sol) const
The flux function is implemented by this method.
Definition model.hh:150
void ldg_flux(std::array< Tensor< 1, dim, NumberType >, n_fe_functions_dep > &F, const Point< dim > &x, const Vector &u) const
The LDG flux function is implemented by this method.
Definition model.hh:289
void face_indicator(std::array< NumberType, 2 > &, const Tensor< 1, dim > &, const Point< dim > &, const Solutions_s &, const Solutions_n &) const
Definition model.hh:334
void mass(std::array< NumberType, n_fe_functions > &m_i, const Point< dim > &x, const Vector &u_i, const Vector_dot &dt_u_i) const
The mass function is implemented in this method.
Definition model.hh:91
void extract(Vector &, const Point< dim > &, const Solutions &) const
Definition model.hh:256
void readouts_multiple(FUN &helper, DataOut &) const
Definition model.hh:361
void initial_condition(const Point< dim > &x, Vector &u_i) const =delete
This method implements the initial condition for the FE functions.
void affine_constraints(Constraints &constraints, const std::vector< IndexSet > &component_boundary_dofs, const std::vector< std::vector< Point< dim > > > &component_boundary_points)
Definition model.hh:377
void ldg_source(std::array< NumberType, n_fe_functions_dep > &s, const Point< dim > &x, const Vector &u) const
The LDG source function is implemented by this method.
Definition model.hh:320
std::array< double, dim > EoM(const Point< dim > &x, const Vector &u) const
Definition model.hh:349
void initial_condition_variables(Vector &v_a) const
Definition model.hh:236
void readouts(DataOut &output, const Point< dim > &x, const Solutions &sol) const
Definition model.hh:368
Point< dim > EoM_postprocess(const Point< dim > &EoM, const Vector &) const
Definition model.hh:356
Definition model.hh:390
const double & get_time() const
void set_time(double t)
The fRG class is used to keep track of the RG time and the cutoff scale.
Definition model.hh:403
fRG(const JSONValue &json)
Construct a new fRG object from a given JSONValue object.
fRG(double Lambda)
Construct a new fRG object from a given initial cutoff scale.
void set_time(double t)
Set the time of the fRG object, updating the cutoff scale and its powers.
Definition complex_math.hh:10
bool KOKKOS_INLINE_FUNCTION is_close(T1 a, T2 b, T3 eps_)
Function to evaluate whether two floats are equal to numerical precision. Tests for both relative and...
Definition math.hh:168
Generated by