const Nom & le_nom() const override
Returns the name of the Objet_U. Virtual method to override: returns "neant" in this implementation.
class Domaine_dis_base This class is the base of the hierarchy of discretized domains.
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.