const Nom & le_nom() const override
Donne le nom de l'Objet_U Methode a surcharger : renvoie "neant" dans cette implementation.
classe Domaine_dis_base Cette classe est la base de la hierarchie des domaines discretisees.
static Domaine_dis_cache & Get_instance()
Get the unique instance of the cache.
static Domaine_dis_base & Build_or_get_poly_post(const Nom &type, const Domaine &dom)
static Domaine_dis_base & Build_or_get(const Nom &type, const Domaine &dom, const Discretisation_base *disc=nullptr)
Domaine_dis_base & build_or_get_poly_post(const Nom &type, const Domaine &dom)
static void Clear()
Clear the content of the cache. Useful to exit nicely making sure everything is deallocated.
Domaine_dis_base & build_or_get(const Nom &type, const Domaine &dom, const Discretisation_base *disc=nullptr)
Get a discretized domain from the cache, building it and recording it if not there yet.