/home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/discretization/mesh/h_adaptivity.hh Source File#
|
DiFfRG
Discretization Framework for functional Renormalization Group flows
|
h_adaptivity.hh
Go to the documentation of this file.
56 if (adapt_level > 0 && t >= adapt_t - 1e-12 * adapt_dt && (t - last_adapt + 1e-12 * adapt_dt) >= adapt_dt) {
98 GridRefinement::refine_and_coarsen_fixed_fraction(triangulation, indicator, adapt_upper, adapt_lower);
Implement a simple interface to do all adaptivity tasks, i.e. solution transfer, reinit of dofHandler...
Definition abstract_adaptor.hh:11
A hierarchical configuration tree, readable from JSON and TOML files.
Definition config_tree.hh:32
Implement a simple interface to do all adaptivity tasks, i.e. solution transfer, reinit of dofHandler...
Definition h_adaptivity.hh:29
HAdaptivity(Assembler &assembler, const ConfigTree &config)
Definition h_adaptivity.hh:35
typename Discretization::VectorType VectorType
Definition h_adaptivity.hh:31
typename Assembler::Discretization Discretization
Definition h_adaptivity.hh:30
virtual ~HAdaptivity()=default
virtual bool adapt(VectorType &solution) override
Force an adaptation and transfer the solution sol to the new mes.
Definition h_adaptivity.hh:69
virtual bool operator()(const double t, VectorType &sol) override
Check if an adaptation step should be done and tranfer the given solution to the new mesh.
Definition h_adaptivity.hh:54
A read-only, fully-replicated view of the solution.
Definition solution_view.hh:48
void refresh(const VectorType &owned)
Make the view reflect owned.
Definition solution_view.hh:63
bool any_of(MPI_Comm comm, bool value)
Collective agreement on a predicate. Used to turn a rank-local decision (an abort,...
void sum_reduce(MPI_Comm comm, int *data, int size)
Definition complex_math.hh:10
Generated by