Implementation of a subdomain manager. More...
Classes | |
| class | PropertyMngCheckpoint |
| Class to manage the reading/writing of properties in checkpoints/rollbacks. More... | |
Public Member Functions | |
| SubDomain (ISession *, Ref< IParallelMng >, Ref< IParallelMng >, const String &filename, ByteConstArrayView bytes) | |
| void | build () override |
| Constructs the instance members. The instance is not usable until this method has been called. This method must be called before initialize(). | |
| void | initialize () override |
| Initializes the instance. The instance is not usable until this method has been called. | |
| void | destroy () override |
| IBase * | objectParent () const override |
| Parent of this object. | |
| String | objectNamespaceURI () const override |
| Namespace of the object. | |
| String | objectLocalName () const override |
| Local name of the object. | |
| VersionInfo | objectVersion () const override |
| Service version number. | |
| IMainFactory * | mainFactory () override |
| Main factory. | |
| ISession * | session () const override |
| Session. | |
| IServiceMng * | serviceMng () const override |
| Service manager. | |
| ITimeLoopMng * | timeLoopMng () override |
| Returns the time loop manager. | |
| IIOMng * | ioMng () override |
| Returns the I/O manager. | |
| IVariableMng * | variableMng () override |
| Returns the variable manager. | |
| IModuleMng * | moduleMng () override |
| Returns the module manager. | |
| IEntryPointMng * | entryPointMng () override |
| Returns the entry point manager. | |
| ICaseMng * | caseMng () override |
| Returns the dataset manager. | |
| ITimerMng * | timerMng () const override |
| Returns the timer manager. | |
| ICheckpointMng * | checkpointMng () const override |
| Protection manager. | |
| IPropertyMng * | propertyMng () const override |
| Property manager. | |
| ITimeStats * | timeStats () const override |
| Execution time statistics. | |
| IRessourceMng * | ressourceMng () const override |
| Resource manager. | |
| ITraceMng * | traceMng () const override |
| Trace manager. | |
| IMemoryInfo * | memoryInfo () const override |
| Memory information manager. | |
| IPhysicalUnitSystem * | physicalUnitSystem () override |
| Subdomain unit system. | |
| ILoadBalanceMng * | loadBalanceMng () override |
| Returns the load balancing manager. | |
| IMeshMng * | meshMng () const override |
| Returns the mesh manager. | |
| IModuleMaster * | moduleMaster () const override |
| Module master interface. | |
| const IConfiguration * | configuration () const override |
| Associated configuration. | |
| IConfiguration * | configuration () override |
| Associated configuration. | |
| IAcceleratorMng * | acceleratorMng () override |
| Associated accelerator manager. | |
| Int32 | subDomainId () const override |
| Subdomain ID associated with this manager. | |
| Int32 | nbSubDomain () const override |
| Total number of subdomains. | |
| void | setIsContinue () override |
| Sets a flag indicating that a restart is being performed. | |
| bool | isContinue () const override |
| True if a restart is being performed, false otherwise. | |
| void | dumpInfo (std::ostream &) override |
| Displays information about the instance. | |
| void | doInitModules () override |
| Calls the module initialization entry points. | |
| void | doExitModules () override |
| Executes exit modules. | |
| IMesh * | defaultMesh () override |
| Default mesh. | |
| const MeshHandle & | defaultMeshHandle () override |
| Handle for the default mesh. | |
| IMesh * | mesh () override |
| IMesh * | findMesh (const String &name, bool throw_exception) override |
| Searches for the mesh named name. | |
| bool | isInitialized () const override |
| Indicates if the session has been initialized. | |
| void | setIsInitialized () override |
| Indicates that the subdomain is initialized. | |
| const ApplicationInfo & | applicationInfo () const override |
| Executable information. | |
| ICaseDocument * | caseDocument () override |
| Case XML document. | |
| IApplication * | application () override |
| Application. | |
| void | checkId (const String &where, const String &id) override |
| Checks if an identifier is valid. | |
| const String & | caseFullFileName () const override |
| Full file path of the dataset. | |
| void | setCaseFullFileName (const String &file_name) |
| const String & | caseName () const override |
| Case name. | |
| void | fillCaseBytes (ByteArray &bytes) const override |
| Fills bytes with the dataset content. | |
| void | setCaseName (const String &case_name) override |
| Sets the case name. | |
| void | setInitialPartitioner (IInitialPartitioner *partitioner) override |
| Sets the initial partitioner. | |
| void | readCaseMeshes () override |
| Reads the mesh information from the dataset. | |
| void | allocateMeshes () override |
| Mesh allocation. | |
| void | readOrReloadMeshes () override |
| Reads or re-reads the meshes. | |
| void | initializeMeshVariablesFromCaseFile () override |
| Initializes variables whose values are specified in the dataset. | |
| void | doInitMeshPartition () override |
| Applies the initialization mesh partitioning. | |
| void | addMesh (IMesh *mesh) override |
| Adds a mesh to the subdomain. | |
| ConstArrayView< IMesh * > | meshes () const override |
| List of meshes in the subdomain. | |
| const CaseOptionsMain * | caseOptionsMain () const override |
| General dataset options. | |
| IParallelMng * | parallelMng () override |
| Returns the parallelism manager. | |
| IParallelMng * | allReplicaParallelMng () const override |
| Returns the parallelism manager for all replicas. | |
| IThreadMng * | threadMng () override |
| Returns the thread manager. | |
| const IDirectory & | exportDirectory () const override |
| Base directory for exports. | |
| void | setExportDirectory (const IDirectory &dir) override |
| Sets the output path for exports (protections and restarts). | |
| const IDirectory & | storageDirectory () const override |
| Base directory for exports requiring archiving. | |
| void | setStorageDirectory (const IDirectory &dir) override |
| Sets the output path for exports requiring archiving. | |
| const IDirectory & | listingDirectory () const override |
| Base directory for listings (logs, execution info). | |
| void | setListingDirectory (const IDirectory &dir) override |
| Sets the output path for listing info. | |
| ITimeHistoryMng * | timeHistoryMng () override |
| Returns the history manager. | |
| const CommonVariables & | variablesCommon () const |
| const CommonVariables & | commonVariables () const override |
| Information on standard variables. | |
| void | dumpInternalInfos (XmlNode &root) override |
| Dumps internal architecture information. The information is stored in an XML tree with root as the root element. This information is for internal use by Arcane. | |
| Integer | meshDimension () const override |
| Mesh dimension (1D, 2D, or 3D). | |
| IObservable * | onDestroyObservable () override |
| Notification before subdomain destruction. | |
| IDirectExecution * | directExecution () const override |
| Direct execution service (or null). | |
| void | setDirectExecution (IDirectExecution *v) override |
| Sets the direct execution service. | |
| void | _setLegacyMeshCreation (bool v) |
| bool | isLegacyMeshCreation () const |
| Public Member Functions inherited from Arcane::IBase | |
| virtual | ~IBase ()=default |
| Frees resources. | |
| Public Member Functions inherited from Arcane::internal::TraceAccessor2 | |
| TraceAccessor2 (ITraceMng *tm) | |
| bool | isActive () const |
| 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 |
Protected Member Functions | |
| const char * | _msgClassName () const |
| Protected Member Functions inherited from Arcane::ISubDomain | |
| virtual | ~ISubDomain () |
| Frees resources. | |
| Protected Member Functions inherited from Arcane::TraceAccessor | |
| void | _setLocalVerboseLevel (Int32 v) |
| Int32 | _localVerboseLevel () const |
Private Member Functions | |
| ARCANE_DECLARE_PROPERTY_CLASS (SubDomain) | |
| void | _doInitialPartition () |
| void | _doInitialPartitionForMesh (IMesh *mesh, const String &service_name) |
| void | _notifyWriteCheckpoint () |
| void | _printCPUAffinity () |
| Displays the CPU affinity of all ranks. | |
| void | _setDefaultAcceleratorDevice (Accelerator::AcceleratorRuntimeInitialisationInfo &config) |
Implementation of a subdomain manager.
This class implements the ISubDomain interface.
Definition at line 153 of file SubDomain.cc.
| Arcane::SubDomain::SubDomain | ( | ISession * | session, |
| Ref< IParallelMng > | pm, | ||
| Ref< IParallelMng > | all_replica_pm, | ||
| const String & | filename, | ||
| ByteConstArrayView | bytes ) |
Definition at line 414 of file SubDomain.cc.
|
private |
Definition at line 841 of file SubDomain.cc.
|
private |
Definition at line 876 of file SubDomain.cc.
|
inlineprotected |
Definition at line 311 of file SubDomain.cc.
|
private |
Definition at line 1086 of file SubDomain.cc.
|
private |
Displays the CPU affinity of all ranks.
This is not active by default and is only used for debugging.
Definition at line 1126 of file SubDomain.cc.
References Arcane::String::bytes(), Arcane::IParallelMng::commSize(), Arcane::IProcessorAffinityService::cpuSetString(), Arcane::IParallelMng::gather(), Arcane::platform::getProcessorAffinityService(), Arcane::TraceAccessor::info(), Arcane::IParallelMng::isMasterIO(), Arcane::IParallelMng::masterIORank(), parallelMng(), Arcane::Array2< DataType >::resize(), Arcane::Array< T >::resize(), and Arcane::Array2< DataType >::viewAsArray().
Referenced by initialize().
|
private |
Definition at line 564 of file SubDomain.cc.
|
inline |
Definition at line 305 of file SubDomain.cc.
|
inlineoverridevirtual |
Associated accelerator manager.
Implements Arcane::ISubDomain.
Definition at line 249 of file SubDomain.cc.
|
overridevirtual |
Adds a mesh to the subdomain.
Implements Arcane::ISubDomain.
Definition at line 773 of file SubDomain.cc.
|
overridevirtual |
Mesh allocation.
This method only handles the construction of IMesh instances. Reading these is done in readOrReloadMeshes().
Implements Arcane::ISubDomain.
Definition at line 683 of file SubDomain.cc.
References application(), Arcane::ICaseMng::caseDocument(), caseMng(), Arcane::ICaseDocument::caseNodeNames(), Arcane::ServiceBuilder< InterfaceType >::createReference(), Arcane::MessagePassing::dumpDateAndMemoryUsage(), Arcane::TraceAccessor::info(), m_case_mng, m_has_mesh_service, parallelMng(), and traceMng().
|
inlineoverridevirtual |
Returns the parallelism manager for all replicas.
Generally, parallelMng() must be used. This manager is essentially used to perform operations on all subdomains and their replicas. If there is no replication, this manager is the same as parallelMng().
Implements Arcane::ISubDomain.
Definition at line 286 of file SubDomain.cc.
References m_all_replica_parallel_mng.
|
inlineoverridevirtual |
Implements Arcane::ISubDomain.
Definition at line 266 of file SubDomain.cc.
References m_application.
Referenced by allocateMeshes(), and initialize().
|
inlineoverridevirtual |
Executable information.
Implements Arcane::ISubDomain.
Definition at line 264 of file SubDomain.cc.
References m_application.
|
overridevirtual |
Constructs the instance members. The instance is not usable until this method has been called. This method must be called before initialize().
Implements Arcane::IBase.
Definition at line 445 of file SubDomain.cc.
References Arcane::IMainFactory::createAcceleratorMngRef(), Arcane::IMainFactory::createCaseMng(), Arcane::IMainFactory::createCheckpointMng(), Arcane::IMainFactory::createEntryPointMng(), Arcane::IMainFactory::createIOMng(), Arcane::IMainFactory::createModuleMng(), Arcane::IMainFactory::createPropertyMngReference(), Arcane::IMainFactory::createServiceMng(), Arcane::IMainFactory::createTimeLoopMng(), Arcane::IMainFactory::createVariableMng(), m_application, m_case_mng, m_checkpoint_mng, m_configuration, m_entry_point_mng, m_io_mng, m_module_mng, m_parallel_mng, m_physical_unit_system, m_property_mng, m_service_mng, m_time_loop_mng, m_time_stats, m_timer_mng, m_variable_mng, parallelMng(), and traceMng().
|
inlineoverridevirtual |
Case XML document.
Implements Arcane::ISubDomain.
Definition at line 265 of file SubDomain.cc.
References m_case_mng.
Referenced by readCaseMeshes().
|
inlineoverridevirtual |
Full file path of the dataset.
Implements Arcane::ISubDomain.
Definition at line 268 of file SubDomain.cc.
References m_case_full_file_name.
|
inlineoverridevirtual |
Returns the dataset manager.
Implements Arcane::ISubDomain.
Definition at line 235 of file SubDomain.cc.
References m_case_mng.
Referenced by allocateMeshes(), and dumpInternalInfos().
|
inlineoverridevirtual |
Case name.
Implements Arcane::ISubDomain.
Definition at line 270 of file SubDomain.cc.
References m_case_name.
|
inlineoverridevirtual |
General dataset options.
Implements Arcane::ISubDomain.
Definition at line 284 of file SubDomain.cc.
References m_case_config.
Referenced by doExitModules().
Checks if an identifier is valid.
| ExceptionBadName | if id is not a valid identifier. |
Implements Arcane::ISubDomain.
Definition at line 944 of file SubDomain.cc.
|
inlineoverridevirtual |
Protection manager.
Implements Arcane::ISubDomain.
Definition at line 237 of file SubDomain.cc.
References m_checkpoint_mng.
|
overridevirtual |
Information on standard variables.
Implements Arcane::ISubDomain.
Definition at line 980 of file SubDomain.cc.
References m_module_master.
|
inlineoverridevirtual |
Associated configuration.
Implements Arcane::ISubDomain.
Definition at line 247 of file SubDomain.cc.
References m_configuration.
|
inlineoverridevirtual |
Associated configuration.
Implements Arcane::ISubDomain.
Definition at line 248 of file SubDomain.cc.
References m_configuration.
|
inlineoverridevirtual |
Default mesh.
The default mesh does not exist until the dataset has been read. It is generally preferable to use defautMeshHandle() instead.
Implements Arcane::ISubDomain.
Definition at line 258 of file SubDomain.cc.
|
inlineoverridevirtual |
Handle for the default mesh.
This handle always exists even if the associated mesh has not yet been created.
Implements Arcane::ISubDomain.
Definition at line 259 of file SubDomain.cc.
|
overridevirtual |
Implements Arcane::ISubDomain.
Definition at line 606 of file SubDomain.cc.
|
inlineoverridevirtual |
Direct execution service (or null).
Implements Arcane::ISubDomain.
Definition at line 300 of file SubDomain.cc.
|
overridevirtual |
Executes exit modules.
Implements Arcane::ISubDomain.
Definition at line 922 of file SubDomain.cc.
References ARCANE_FATAL, caseOptionsMain(), Arcane::ITraceMng::flush(), Arcane::TraceAccessor::logdate(), m_is_initialized, m_parallel_mng, m_time_history_mng, m_time_loop_mng, and traceMng().
|
overridevirtual |
Applies the initialization mesh partitioning.
Implements Arcane::ISubDomain.
Definition at line 801 of file SubDomain.cc.
References Arcane::IMeshStats::create(), Arcane::TraceAccessor::info(), parallelMng(), Arcane::IInitialPartitioner::partitionAndDistributeMeshes(), and traceMng().
|
overridevirtual |
Calls the module initialization entry points.
Implements Arcane::ISubDomain.
Definition at line 833 of file SubDomain.cc.
|
overridevirtual |
Displays information about the instance.
Implements Arcane::ISubDomain.
Definition at line 665 of file SubDomain.cc.
References m_module_mng.
|
overridevirtual |
Dumps internal architecture information. The information is stored in an XML tree with root as the root element. This information is for internal use by Arcane.
Implements Arcane::ISubDomain.
Definition at line 991 of file SubDomain.cc.
References Arcane::ICaseMng::blocks(), caseMng(), Arcane::ICaseOptions::caseModule(), Arcane::CollectionBase::clear(), Arcane::IVariable::dataType(), Arcane::dataTypeName(), Arcane::ITimeLoop::description(), Arcane::IVariable::dimension(), Arcane::IVariable::itemKind(), Arcane::itemKindName(), moduleMng(), Arcane::IModule::name(), Arcane::IVariable::name(), Arcane::ICaseOptions::rootTagName(), Arcane::XmlNode::setAttrValue(), timeLoopMng(), Arcane::ITimeLoop::title(), Arcane::ITimeLoopMng::usedTimeLoop(), Arcane::ITimeLoop::userClasses(), variableMng(), and Arcane::IVariableMng::variables().
|
inlineoverridevirtual |
Returns the entry point manager.
Implements Arcane::ISubDomain.
Definition at line 234 of file SubDomain.cc.
References m_entry_point_mng.
|
inlineoverridevirtual |
Base directory for exports.
Implements Arcane::ISubDomain.
Definition at line 288 of file SubDomain.cc.
References m_export_directory.
|
inlineoverridevirtual |
Fills bytes with the dataset content.
Implements Arcane::ISubDomain.
Definition at line 271 of file SubDomain.cc.
References m_case_bytes.
Searches for the mesh named name.
If the mesh is not found, the method throws an exception if throw_exception is true or returns 0 if throw_exception is false.
Implements Arcane::ISubDomain.
Definition at line 1077 of file SubDomain.cc.
|
overridevirtual |
Initializes the instance. The instance is not usable until this method has been called.
Implements Arcane::IBase.
Definition at line 472 of file SubDomain.cc.
References _printCPUAffinity(), Arcane::IApplication::acceleratorRuntimeInitialisationInfo(), Arcane::ConfigurationReader::addValuesFromXmlNode(), application(), ARCANE_FATAL, Arcane::ICaseDocument::configurationElement(), Arcane::IMainFactory::createLoadBalanceMng(), Arcane::IMainFactory::createModuleMaster(), Arcane::IMainFactory::createServiceLoader(), Arcane::IMainFactory::createTimeHistoryMng(), Arcane::Accelerator::Runner::deviceInfo(), Arcane::Accelerator::Runner::executionPolicy(), Arcane::TraceAccessor::info(), Arcane::Accelerator::isAcceleratorPolicy(), m_all_replica_parallel_mng, m_application, m_case_bytes, m_case_full_file_name, m_case_mng, m_checkpoint_mng, m_configuration, m_has_mesh_service, m_lb_mng, m_module_master, m_parallel_mng, m_time_history_mng, m_time_loop_mng, m_variable_mng, Arcane::ICaseDocument::meshesElement(), Arcane::XmlNode::null(), and traceMng().
|
overridevirtual |
Initializes variables whose values are specified in the dataset.
Implements Arcane::ISubDomain.
Definition at line 791 of file SubDomain.cc.
References m_has_mesh_service.
|
inlineoverridevirtual |
Returns the I/O manager.
Implements Arcane::ISubDomain.
Definition at line 231 of file SubDomain.cc.
References m_io_mng.
|
inlineoverridevirtual |
True if a restart is being performed, false otherwise.
Implements Arcane::ISubDomain.
Definition at line 254 of file SubDomain.cc.
|
inlineoverridevirtual |
Indicates if the session has been initialized.
Implements Arcane::ISubDomain.
Definition at line 262 of file SubDomain.cc.
References m_is_initialized.
|
inline |
Definition at line 306 of file SubDomain.cc.
|
inlineoverridevirtual |
Base directory for listings (logs, execution info).
Implements Arcane::ISubDomain.
Definition at line 292 of file SubDomain.cc.
References m_listing_directory.
|
inlineoverridevirtual |
Returns the load balancing manager.
Implements Arcane::ISubDomain.
Definition at line 244 of file SubDomain.cc.
References m_lb_mng.
|
inlineoverridevirtual |
Main factory.
Implements Arcane::ISubDomain.
Definition at line 227 of file SubDomain.cc.
References m_application.
|
inlineoverridevirtual |
Memory information manager.
Implements Arcane::ISubDomain.
Definition at line 242 of file SubDomain.cc.
References m_memory_info.
|
inlineoverridevirtual |
Implements Arcane::ISubDomain.
Definition at line 260 of file SubDomain.cc.
|
overridevirtual |
Mesh dimension (1D, 2D, or 3D).
Implements Arcane::ISubDomain.
Definition at line 1068 of file SubDomain.cc.
|
overridevirtual |
List of meshes in the subdomain.
Implements Arcane::ISubDomain.
Definition at line 782 of file SubDomain.cc.
|
inlineoverridevirtual |
Returns the mesh manager.
Implements Arcane::ISubDomain.
Definition at line 245 of file SubDomain.cc.
|
inlineoverridevirtual |
Module master interface.
Implements Arcane::ISubDomain.
Definition at line 246 of file SubDomain.cc.
References m_module_master.
|
inlineoverridevirtual |
Returns the module manager.
Implements Arcane::ISubDomain.
Definition at line 233 of file SubDomain.cc.
References m_module_mng.
Referenced by dumpInternalInfos().
|
inlineoverridevirtual |
Total number of subdomains.
Implements Arcane::ISubDomain.
Definition at line 252 of file SubDomain.cc.
References m_parallel_mng.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Parent of this object.
Implements Arcane::IBase.
Definition at line 220 of file SubDomain.cc.
References m_application.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Notification before subdomain destruction.
Implements Arcane::ISubDomain.
Definition at line 299 of file SubDomain.cc.
References m_on_destroy_observable.
|
inlineoverridevirtual |
Returns the parallelism manager.
Implements Arcane::ISubDomain.
Definition at line 285 of file SubDomain.cc.
References m_parallel_mng.
Referenced by _printCPUAffinity(), allocateMeshes(), build(), doInitMeshPartition(), readOrReloadMeshes(), and setIsInitialized().
|
inlineoverridevirtual |
Subdomain unit system.
Implements Arcane::ISubDomain.
Definition at line 243 of file SubDomain.cc.
References m_physical_unit_system.
|
inlineoverridevirtual |
Property manager.
Implements Arcane::ISubDomain.
Definition at line 238 of file SubDomain.cc.
References m_property_mng.
Referenced by setIsInitialized().
|
overridevirtual |
Reads the mesh information from the dataset.
Implements Arcane::ISubDomain.
Definition at line 962 of file SubDomain.cc.
References ARCANE_FATAL, caseDocument(), Arcane::TraceAccessor::info(), m_case_config, m_case_full_file_name, m_module_master, and traceMng().
|
overridevirtual |
Reads or re-reads the meshes.
At startup, the meshes are re-read from the dataset information. During restart, the meshes are loaded from a protection. This method must be called after calling allocateMeshes().
AMR : done in factory. This method is removed from IMesh.
Implements Arcane::ISubDomain.
Definition at line 716 of file SubDomain.cc.
References Arcane::IMesh::checkValidMesh(), Arcane::MessagePassing::dumpDateAndMemoryUsage(), Arcane::platform::getProfilingService(), Arcane::TraceAccessor::info(), Arcane::TraceAccessor::logdate(), m_has_mesh_service, parallelMng(), Arcane::IPrimaryMesh::reloadMesh(), Arcane::ProfilingSentryWithInitialize::setPrintAtEnd(), and traceMng().
|
inlineoverridevirtual |
Resource manager.
Implements Arcane::IBase.
Definition at line 240 of file SubDomain.cc.
References m_application.
|
inlineoverridevirtual |
Service manager.
Implements Arcane::IBase.
Definition at line 229 of file SubDomain.cc.
References m_service_mng.
|
inlineoverridevirtual |
|
inline |
Definition at line 269 of file SubDomain.cc.
|
inlineoverridevirtual |
Sets the case name.
This method must be called before initialization.
Implements Arcane::ISubDomain.
Definition at line 272 of file SubDomain.cc.
References m_case_name.
|
inlineoverridevirtual |
Sets the direct execution service.
This service must be set during service creation when reading the dataset.
Implements Arcane::ISubDomain.
Definition at line 301 of file SubDomain.cc.
|
inlineoverridevirtual |
Sets the output path for exports (protections and restarts).
The directory corresponding to dir must exist.
This method must be called before initialization.
Implements Arcane::ISubDomain.
Definition at line 289 of file SubDomain.cc.
References m_export_directory.
|
inlineoverridevirtual |
Sets the initial partitioner.
If this method is not called, the default partitioner is used.
This method must be called before module initialization, for example in construction entry points.
The instance takes ownership of partitioner and will destroy it by delete at the end of the calculation.
Implements Arcane::ISubDomain.
Definition at line 273 of file SubDomain.cc.
|
inlineoverridevirtual |
Sets a flag indicating that a restart is being performed.
This method must be called before allocating the mesh (allocateMeshes()).
Implements Arcane::ISubDomain.
Definition at line 253 of file SubDomain.cc.
|
overridevirtual |
Indicates that the subdomain is initialized.
Implements Arcane::ISubDomain.
Definition at line 1103 of file SubDomain.cc.
References Arcane::TraceAccessor::info(), m_is_initialized, Arcane::Parallel::IStat::mergeValues(), parallelMng(), propertyMng(), Arcane::IParallelMng::stat(), timeStats(), and traceMng().
|
inlineoverridevirtual |
Sets the output path for listing info.
The directory corresponding to dirname must exist.
This method must be called before initialization.
Implements Arcane::ISubDomain.
Definition at line 293 of file SubDomain.cc.
References m_listing_directory.
|
inlineoverridevirtual |
Sets the output path for exports requiring archiving.
This directory allows specifying a directory that can be automatically archived. If it is null, exportDirectory() is used.
This method must be called before initialization.
Implements Arcane::ISubDomain.
Definition at line 291 of file SubDomain.cc.
References m_storage_directory.
|
inlineoverridevirtual |
Base directory for exports requiring archiving.
Implements Arcane::ISubDomain.
Definition at line 290 of file SubDomain.cc.
References m_storage_directory.
|
inlineoverridevirtual |
Subdomain ID associated with this manager.
Implements Arcane::ISubDomain.
Definition at line 251 of file SubDomain.cc.
References m_parallel_mng.
|
inlineoverridevirtual |
Returns the thread manager.
Implements Arcane::ISubDomain.
Definition at line 287 of file SubDomain.cc.
References m_parallel_mng.
|
inlineoverridevirtual |
Returns the history manager.
Implements Arcane::ISubDomain.
Definition at line 294 of file SubDomain.cc.
References m_time_history_mng.
|
inlineoverridevirtual |
Returns the time loop manager.
Implements Arcane::ISubDomain.
Definition at line 230 of file SubDomain.cc.
References m_time_loop_mng.
Referenced by dumpInternalInfos().
|
inlineoverridevirtual |
Returns the timer manager.
Implements Arcane::ISubDomain.
Definition at line 236 of file SubDomain.cc.
References m_timer_mng.
|
inlineoverridevirtual |
Execution time statistics.
Implements Arcane::ISubDomain.
Definition at line 239 of file SubDomain.cc.
References m_time_stats.
Referenced by setIsInitialized().
|
inlineoverridevirtual |
Trace manager.
Implements Arcane::IBase.
Definition at line 241 of file SubDomain.cc.
References Arcane::TraceAccessor::traceMng().
Referenced by allocateMeshes(), build(), doExitModules(), doInitMeshPartition(), initialize(), readCaseMeshes(), readOrReloadMeshes(), and setIsInitialized().
|
inlineoverridevirtual |
Returns the variable manager.
Implements Arcane::ISubDomain.
Definition at line 232 of file SubDomain.cc.
References m_variable_mng.
Referenced by dumpInternalInfos().
|
inline |
Definition at line 295 of file SubDomain.cc.
|
private |
Definition at line 358 of file SubDomain.cc.
|
private |
Parallelism manager for all replicas.
Definition at line 318 of file SubDomain.cc.
Referenced by allReplicaParallelMng(), and initialize().
|
private |
Main manager.
Definition at line 316 of file SubDomain.cc.
Referenced by application(), applicationInfo(), build(), initialize(), mainFactory(), objectParent(), and ressourceMng().
|
private |
Case data.
Definition at line 341 of file SubDomain.cc.
Referenced by fillCaseBytes(), and initialize().
|
private |
Case config.
Definition at line 342 of file SubDomain.cc.
Referenced by caseOptionsMain(), and readCaseMeshes().
|
private |
Case path.
Definition at line 339 of file SubDomain.cc.
Referenced by caseFullFileName(), initialize(), and readCaseMeshes().
|
private |
Definition at line 356 of file SubDomain.cc.
Case data manager.
Definition at line 324 of file SubDomain.cc.
Referenced by allocateMeshes(), build(), caseDocument(), caseMng(), and initialize().
|
private |
Case name.
Definition at line 340 of file SubDomain.cc.
Referenced by caseName(), and setCaseName().
|
private |
Checkpoint manager.
Definition at line 326 of file SubDomain.cc.
Referenced by build(), checkpointMng(), and initialize().
|
private |
Definition at line 350 of file SubDomain.cc.
Referenced by build(), configuration(), configuration(), and initialize().
|
private |
Definition at line 337 of file SubDomain.cc.
|
private |
Definition at line 348 of file SubDomain.cc.
|
private |
Entry point manager.
Definition at line 323 of file SubDomain.cc.
Referenced by build(), and entryPointMng().
|
private |
Export directory.
Definition at line 343 of file SubDomain.cc.
Referenced by exportDirectory(), and setExportDirectory().
|
private |
Indicates whether the service mechanism is used to read the mesh.
Definition at line 355 of file SubDomain.cc.
Referenced by allocateMeshes(), initialize(), initializeMeshVariablesFromCaseFile(), and readOrReloadMeshes().
|
private |
Input/output manager.
Definition at line 319 of file SubDomain.cc.
|
private |
Definition at line 347 of file SubDomain.cc.
|
private |
Definition at line 351 of file SubDomain.cc.
|
private |
true if initialized
Definition at line 338 of file SubDomain.cc.
Referenced by doExitModules(), isInitialized(), and setIsInitialized().
|
private |
Load balancing characteristics manager.
Definition at line 349 of file SubDomain.cc.
Referenced by initialize(), and loadBalanceMng().
|
private |
Definition at line 353 of file SubDomain.cc.
|
private |
Listing directory.
Definition at line 345 of file SubDomain.cc.
Referenced by listingDirectory(), and setListingDirectory().
|
private |
Definition at line 333 of file SubDomain.cc.
|
private |
|
private |
Definition at line 336 of file SubDomain.cc.
|
private |
Master module.
Definition at line 334 of file SubDomain.cc.
Referenced by commonVariables(), initialize(), moduleMaster(), and readCaseMeshes().
|
private |
Module manager.
Definition at line 322 of file SubDomain.cc.
Referenced by build(), dumpInfo(), and moduleMng().
|
private |
Definition at line 332 of file SubDomain.cc.
|
private |
Definition at line 357 of file SubDomain.cc.
|
private |
Observable upon destruction.
Definition at line 346 of file SubDomain.cc.
Referenced by onDestroyObservable().
|
private |
Parallelism manager.
Definition at line 317 of file SubDomain.cc.
Referenced by build(), doExitModules(), initialize(), nbSubDomain(), parallelMng(), subDomainId(), and threadMng().
|
private |
Physical unit system.
Definition at line 331 of file SubDomain.cc.
Referenced by build(), and physicalUnitSystem().
|
private |
Property manager.
Definition at line 327 of file SubDomain.cc.
Referenced by build(), and propertyMng().
|
private |
Definition at line 352 of file SubDomain.cc.
|
private |
Service manager.
Definition at line 330 of file SubDomain.cc.
Referenced by build(), and serviceMng().
|
private |
|
private |
Archive directory.
Definition at line 344 of file SubDomain.cc.
Referenced by setStorageDirectory(), and storageDirectory().
|
private |
History manager.
Definition at line 335 of file SubDomain.cc.
Referenced by doExitModules(), initialize(), and timeHistoryMng().
|
private |
Time loop manager.
Definition at line 329 of file SubDomain.cc.
Referenced by build(), doExitModules(), initialize(), and timeLoopMng().
|
private |
Execution time statistics.
Definition at line 328 of file SubDomain.cc.
Referenced by build(), and timeStats().
|
private |
|
private |
Variable manager.
Definition at line 321 of file SubDomain.cc.
Referenced by build(), initialize(), and variableMng().