Construction of uniqueId() for faces in a cartesian mesh. More...
Public Member Functions | |
| CartesianFaceUniqueIdBuilder (DynamicMesh *mesh) | |
| Constructs an instance for the mesh mesh. | |
| void | computeFacesUniqueIdAndOwner () |
| Calculates the uniqueIds() and owners. | |
| Public Member Functions inherited from Arcane::TraceAccessor | |
| TraceAccessor (ITraceMng *m) | |
| Constructs an accessor via the trace manager m. | |
| TraceAccessor (const TraceAccessor &rhs) | |
| Copy constructor. | |
| TraceAccessor & | operator= (const TraceAccessor &rhs) |
| Copy assignment operator. | |
| virtual | ~TraceAccessor () |
| Frees resources. | |
| ITraceMng * | traceMng () const |
| Trace manager. | |
| TraceMessage | info () const |
| Flow for an information message. | |
| TraceMessage | pinfo () const |
| Flow for a parallel information message. | |
| TraceMessage | info (char category) const |
| Flow for an information message of a given category. | |
| TraceMessage | pinfo (char category) const |
| Flow for a parallel information message of a given category. | |
| TraceMessage | info (bool v) const |
| Flow for an information message. | |
| TraceMessage | warning () const |
| Flow for a warning message. | |
| TraceMessage | pwarning () const |
| TraceMessage | error () const |
| Flow for an error message. | |
| TraceMessage | perror () const |
| TraceMessage | log () const |
| Flow for a log message. | |
| TraceMessage | plog () const |
| Flow for a log message. | |
| TraceMessage | logdate () const |
| Flow for a log message preceded by the date. | |
| TraceMessage | fatal () const |
| Flow for a fatal error message. | |
| TraceMessage | pfatal () const |
| Flow for a parallel fatal error message. | |
| TraceMessageDbg | debug (Trace::eDebugLevel=Trace::Medium) const |
| Flow for a debug message. | |
| Trace::eDebugLevel | configDbgLevel () const |
| Debug level of the configuration file. | |
| TraceMessage | info (Int32 verbose_level) const |
| Flow for an information message of a given level. | |
| TraceMessage | linfo () const |
| Flow for an information message with the local information level of this instance. | |
| TraceMessage | linfo (Int32 relative_level) const |
| Flow for an information message with the local information level of this instance. | |
| void | fatalMessage (const StandaloneTraceMessage &o) const |
Private Attributes | |
| DynamicMesh * | m_mesh = nullptr |
| IParallelMng * | m_parallel_mng = nullptr |
| bool | m_is_verbose = false |
Additional Inherited Members | |
| Protected Member Functions inherited from Arcane::TraceAccessor | |
| void | _setLocalVerboseLevel (Int32 v) |
| Int32 | _localVerboseLevel () const |
Construction of uniqueId() for faces in a cartesian mesh.
Definition at line 35 of file CartesianFaceUniqueIdBuilder.cc.
|
explicit |
Constructs an instance for the mesh mesh.
Definition at line 57 of file CartesianFaceUniqueIdBuilder.cc.
References Arcane::TraceAccessor::TraceAccessor(), and Arcane::TraceAccessor::traceMng().
| void Arcane::mesh::CartesianFaceUniqueIdBuilder::computeFacesUniqueIdAndOwner | ( | ) |
Calculates the uniqueIds() and owners.
For owners, it is assumed that all faces belong to this sub-domain except for faces on the lower boundaries which belong to the lower sub-domain in each direction. NOTE: this does not necessarily balance the number of ghost/shared faces between sub-domains but it is easier to calculate.
Definition at line 79 of file CartesianFaceUniqueIdBuilder.cc.
References ARCANE_FATAL, ARCANE_THROW, Arcane::CartesianGridDimension::CellUniqueIdComputer3D::compute(), Arcane::CartesianGridDimension::FaceUniqueIdComputer2D::computeForCell(), Arcane::CartesianGridDimension::FaceUniqueIdComputer3D::computeForCell(), Arcane::mesh::ItemInternalMap::eachItem(), Arcane::Cell::face(), Arcane::CartesianGridDimension::getFaceComputer2D(), Arcane::CartesianGridDimension::getFaceComputer3D(), Arcane::TraceAccessor::info(), Arcane::Item::mutableItemBase(), Arcane::CartesianGridDimension::nbCell(), Arcane::CartesianGridDimension::nbFace(), Arcane::CartesianGridDimension::nbFaceParallelToDirection(), Arcane::ItemWithNodes::node(), Arcane::MutableItemBase::setOwner(), and Arcane::Item::uniqueId().
|
private |
Definition at line 51 of file CartesianFaceUniqueIdBuilder.cc.
|
private |
Definition at line 49 of file CartesianFaceUniqueIdBuilder.cc.
|
private |
Definition at line 50 of file CartesianFaceUniqueIdBuilder.cc.