Construction of a 3D mesh. More...
#include <arcane/lima/LimaCutInfosReader.h>
Public Member Functions | |
| LimaCutInfosReader (IParallelMng *parallel_mng) | |
| void | readItemsUniqueId (Int64ArrayView nodes_id, Int64ArrayView cells_id, const String &dir_name) |
| Constructs the internal mesh structures. | |
| 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 Member Functions | |
| void | _readUniqueIndex (Int64ArrayView nodes_id, Int64ArrayView cells_id, const String &dir_name) |
| Retrieval of unique entity indices. | |
| void | _readUniqueIndexFromXml (Int64ArrayView nodes_id, Int64ArrayView cells_id, XmlNode root_element, Int32 rank) |
| Reading unique indices from an XML correspondence file. | |
Private Attributes | |
| IParallelMng * | m_parallel_mng |
Additional Inherited Members | |
| Protected Member Functions inherited from Arcane::TraceAccessor | |
| void | _setLocalVerboseLevel (Int32 v) |
| Int32 | _localVerboseLevel () const |
Construction of a 3D mesh.
Definition at line 37 of file src/arcane/lima/LimaCutInfosReader.h.
| Arcane::LimaCutInfosReader::LimaCutInfosReader | ( | IParallelMng * | parallel_mng | ) |
Definition at line 49 of file LimaCutInfosReader.cc.
|
inlinevirtual |
Definition at line 43 of file src/arcane/lima/LimaCutInfosReader.h.
|
private |
Retrieval of unique entity indices.
Retrieves the unique number for each entity across all domains. The values are stored in nodes_id for the nodes and cells_id for the cells. Both arrays must already have been allocated to the correct size.
The operation is as follows:
Definition at line 108 of file LimaCutInfosReader.cc.
References _readUniqueIndexFromXml(), ARCANE_FATAL, Arcane::IParallelMng::barrier(), Arcane::IParallelMng::commRank(), Arcane::IParallelMng::commSize(), Arcane::String::empty(), Arcane::PtrT< T >::get(), Arcane::TraceAccessor::info(), Arcane::IParallelMng::ioMng(), Arcane::IParallelMng::isParallel(), Arcane::Timer::lastActivationTime(), Arcane::IIOMng::parseXmlFile(), Arcane::IParallelMng::recv(), Arcane::Array< T >::resize(), Arcane::ArrayView< T >::size(), and Arcane::Timer::TimerReal.
Referenced by readItemsUniqueId().
|
private |
Reading unique indices from an XML correspondence file.
| nodes_id | node indices |
| cells_id | cell indices |
| root_element | root element of the XML tree. |
| comm_rank | subdomain number to read. |
Definition at line 195 of file LimaCutInfosReader.cc.
References ARCANE_FATAL, Arcane::XmlNode::child(), Arcane::XmlNode::children(), Arcane::String::localstr(), Arcane::String::null(), Arcane::XmlNode::null(), Arcane::ArrayView< T >::size(), and Arcane::XmlNode::value().
Referenced by _readUniqueIndex().
| void Arcane::LimaCutInfosReader::readItemsUniqueId | ( | Int64ArrayView | nodes_id, |
| Int64ArrayView | cells_id, | ||
| const String & | dir_name ) |
Constructs the internal mesh structures.
Definition at line 85 of file LimaCutInfosReader.cc.
References _readUniqueIndex().
|
private |
Definition at line 52 of file src/arcane/lima/LimaCutInfosReader.h.