Geometric domains#

A geometric domain consist in a collection of geometric elements of a mesh, all or some of them. It is managed by the MeshDomain class which inherits from the GeomDomain class. The Mesh class manages the collection of all MeshDomain linked to it as vector<GeomDomain*>.

For the user’s convenience, Domain is an alias for a reference to GeomDomain. In the following, Domain will be abusively used in place of GeomDomain.

Note

The GeomDomain has other child classes used internally. Users should only use the Domain alias.

Domain objects are fundamental objects which are involved in the description of problems (integrals defining linear or bilinear form, essential conditions, …). There are many tools related to Domain, of interest to users:

  • retrieving Domain from Mesh, loaded or generated by XLiFE++,

  • printing Domain informations,

  • merging Domain,

  • constructing the Domain of sides of a Domain,

  • constructing the extended Domain of a side Domain,

  • constructing fictitious Domain (intersection of two Domain coming from different meshes),

  • assigning properties to a Domain,

  • dealing with the normal vectors of a Domain,

  • defining a Domain interface as a crack,

  • accessing to the parametrization of a Domain if available,

  • defining map from a Domain to an other one,

  • partitionning a Domain.