HasPointwiseProjection Concept ReferenceΒΆ

adc_cpp: pops::HasPointwiseProjection Concept Reference
adc_cpp 0.3.0
Model-free C++23 core for coupled hyperbolic-elliptic systems on adaptive (AMR) meshes, with MPI and GPU (Kokkos) backends
pops::HasPointwiseProjection Concept Reference

Trait OPTIONNEL : PROJECTION PONCTUELLE post-pas U -> project(U, aux) (ADC-177). More...

#include <physical_model.hpp>

Concept definition

template<class M>
concept pops::HasPointwiseProjection = requires(const M m, const typename M::State u, const Aux a) {
{ m.project(u, a) } -> std::same_as<typename M::State>;
}
Trait OPTIONNEL : PROJECTION PONCTUELLE post-pas U -> project(U, aux) (ADC-177).
Definition physical_model.hpp:154

Detailed Description

Trait OPTIONNEL : PROJECTION PONCTUELLE post-pas U -> project(U, aux) (ADC-177).

Le stepper l'applique sur les cellules VALIDES de chaque bloc a la FIN de chaque macro-pas ENTIER (apres transport + etage source + couplages ; jamais par etage RK). CONTRAT : project doit etre une PROJECTION (idempotente : project(project(U), a) == project(U, a)) et PONCTUELLE (aucune lecture de voisin) ; les formules elles-memes (realisabilite, clamps – ecrits en max/min via abs/sign) restent cote cas, seul le hook est coeur. POPS_HD obligatoire (evaluee dans un kernel).