Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::IMainFactory Class Referenceabstract

Public Member Functions

virtual ~IMainFactory ()
 Releases resources.
virtual IArcaneMaincreateArcaneMain (const ApplicationInfo &app_info)=0
 Creates an instance of IArcaneMain.
virtual IApplicationcreateApplication (IArcaneMain *)=0
 Creates an instance of a supervisor.
virtual IVariableMngcreateVariableMng (ISubDomain *)=0
 Creates an instance of the variable manager.
virtual IModuleMngcreateModuleMng (ISubDomain *)=0
 Creates an instance of the module manager.
virtual IEntryPointMngcreateEntryPointMng (ISubDomain *)=0
 Creates an instance of the entry point manager.
virtual ITimeHistoryMngcreateTimeHistoryMng (ISubDomain *)=0
 Creates an instance of the time history manager.
virtual ICaseMngcreateCaseMng (ISubDomain *)=0
 Creates an instance of the case manager.
virtual ICaseDocumentcreateCaseDocument (IApplication *)=0
 Creates an instance of a case document.
virtual ICaseDocumentcreateCaseDocument (IApplication *, const String &lang)=0
 Creates an instance of a case document for a given language lang.
virtual ICaseDocumentcreateCaseDocument (IApplication *, IXmlDocumentHolder *doc)=0
 Creates an instance of a case document.
virtual ARCANE_DEPRECATED_116 ITimeStatscreateTimeStats (ISubDomain *)=0
 Creates an instance of execution time statistics.
virtual ITimeStatscreateTimeStats (ITimerMng *tim, ITraceMng *trm, const String &name)=0
 Creates an instance of execution time statistics.
virtual ITimeLoopMngcreateTimeLoopMng (ISubDomain *)=0
 Creates an instance of the time loop manager.
virtual ITimeLoopcreateTimeLoop (IApplication *sm, const String &name)=0
 Creates a time loop named name.
virtual IIOMngcreateIOMng (IApplication *)=0
 Creates an instance of the I/O manager.
virtual IIOMngcreateIOMng (IParallelMng *pm)=0
 Creates an instance of the I/O manager for the parallelism manager pm.
virtual IServiceLoadercreateServiceLoader ()=0
 Creates an instance of the service loader.
virtual IServiceMngcreateServiceMng (IBase *)=0
 Creates an instance of the service manager.
virtual ICheckpointMngcreateCheckpointMng (ISubDomain *)=0
 Creates an instance of the checkpoint manager.
virtual IPropertyMngcreatePropertyMng (ISubDomain *)=0
 Creates an instance of the property manager.
virtual Ref< IPropertyMngcreatePropertyMngReference (ISubDomain *)=0
 Creates an instance of the property manager.
virtual IPrimaryMeshcreateMesh (ISubDomain *sub_domain, const String &name)=0
 Creates or retrieves a mesh.
virtual IPrimaryMeshcreateMesh (ISubDomain *sub_domain, const String &name, bool is_amr)=0
 Creates or retrieves a mesh.
virtual IPrimaryMeshcreateMesh (ISubDomain *sub_domain, const String &name, eMeshAMRKind amr_type)=0
 Creates or retrieves a mesh.
virtual IPrimaryMeshcreateMesh (ISubDomain *sub_domain, IParallelMng *pm, const String &name)=0
 Creates or retrieves a mesh.
virtual IPrimaryMeshcreateMesh (ISubDomain *sub_domain, IParallelMng *pm, const String &name, bool is_amr)=0
 Creates or retrieves a mesh.
virtual IPrimaryMeshcreateMesh (ISubDomain *sub_domain, IParallelMng *pm, const String &name, eMeshAMRKind amr_type)=0
 Creates or retrieves a mesh.
virtual IMeshcreateSubMesh (IMesh *mesh, const ItemGroup &group, const String &name)=0
 Creates a sub-mesh for the mesh mesh, named name.
virtual IDataFactorycreateDataFactory (IApplication *)=0
 Creates a factory for data.
virtual Ref< IDataFactoryMngcreateDataFactoryMngRef (IApplication *)=0
 Creates a factory manager for data.
virtual Ref< IAcceleratorMngcreateAcceleratorMngRef (ITraceMng *tm)=0
 Creates a manager for accelerators.
virtual ITraceMngcreateTraceMng ()=0
 Creates a trace manager.
virtual ITraceMngPolicycreateTraceMngPolicy (IApplication *app)=0
 Creates a configuration manager for a trace manager.
virtual IModuleMastercreateModuleMaster (ISubDomain *sd)=0
 Creates the master module for the sub-domain sd.
virtual ILoadBalanceMngcreateLoadBalanceMng (ISubDomain *sd)=0
 Creates a description manager for load balancing.

Detailed Description

Definition at line 93 of file IMainFactory.h.

Constructor & Destructor Documentation

◆ ~IMainFactory()

virtual Arcane::IMainFactory::~IMainFactory ( )
inlinevirtual

Releases resources.

Definition at line 97 of file IMainFactory.h.

Member Function Documentation

◆ createMesh() [1/6]

virtual IPrimaryMesh * Arcane::IMainFactory::createMesh ( ISubDomain * sub_domain,
const String & name )
pure virtual

Creates or retrieves a mesh.

Creates or retrieves a mesh named name for the sub-domain sub_domain.

If the sub-domain already has a mesh with the name name, the latter is returned.

References createMesh().

Referenced by createMesh(), createMesh(), createMesh(), createMesh(), createMesh(), createMesh(), and Arcane::MeshReaderMng::readMesh().

◆ createMesh() [2/6]

virtual IPrimaryMesh * Arcane::IMainFactory::createMesh ( ISubDomain * sub_domain,
const String & name,
bool is_amr )
pure virtual

Creates or retrieves a mesh.

Creates or retrieves a mesh named name for the sub-domain sub_domain.

If the sub-domain already has a mesh with the name name, the latter is returned.

References createMesh().

◆ createMesh() [3/6]

virtual IPrimaryMesh * Arcane::IMainFactory::createMesh ( ISubDomain * sub_domain,
const String & name,
eMeshAMRKind amr_type )
pure virtual

Creates or retrieves a mesh.

Creates or retrieves a mesh named name for the sub-domain sub_domain.

If the sub-domain already has a mesh with the name name, the latter is returned.

References createMesh().

◆ createMesh() [4/6]

virtual IPrimaryMesh * Arcane::IMainFactory::createMesh ( ISubDomain * sub_domain,
IParallelMng * pm,
const String & name )
pure virtual

Creates or retrieves a mesh.

Creates or retrieves a mesh named name for the sub-domain sub_domain associated with the parallelism manager pm. If the sub-domain already has a mesh with the name name, the latter is returned.

The parallelism manager must be the same as that of the sub-domain or derived from it.

References createMesh().

◆ createMesh() [5/6]

virtual IPrimaryMesh * Arcane::IMainFactory::createMesh ( ISubDomain * sub_domain,
IParallelMng * pm,
const String & name,
bool is_amr )
pure virtual

Creates or retrieves a mesh.

Creates or retrieves a mesh named name for the sub-domain sub_domain associated with the parallelism manager pm. If the sub-domain already has a mesh with the name name, the latter is returned.

The parallelism manager must be the same as that of the sub-domain or derived from it.

References createMesh().

◆ createMesh() [6/6]

virtual IPrimaryMesh * Arcane::IMainFactory::createMesh ( ISubDomain * sub_domain,
IParallelMng * pm,
const String & name,
eMeshAMRKind amr_type )
pure virtual

Creates or retrieves a mesh.

Creates or retrieves a mesh named name for the sub-domain sub_domain associated with the parallelism manager pm. If the sub-domain already has a mesh with the name name, the latter is returned.

The parallelism manager must be the same as that of the sub-domain or derived from it.

References createMesh().

◆ createSubMesh()

virtual IMesh * Arcane::IMainFactory::createSubMesh ( IMesh * mesh,
const ItemGroup & group,
const String & name )
pure virtual

Creates a sub-mesh for the mesh mesh, named name.

The sub-mesh is initialized with the items of the group group. Currently, this group cannot be a complete group (isAllItems()) nor a calculated group (if not incremental).

References createSubMesh().

Referenced by createSubMesh().

◆ createTimeStats()

virtual ARCANE_DEPRECATED_116 ITimeStats * Arcane::IMainFactory::createTimeStats ( ISubDomain * )
pure virtual

Creates an instance of execution time statistics.

Use the overloaded createTimeStats(ITimerMng*,ITraceMng*,const String& name).

◆ createTraceMng()

virtual ITraceMng * Arcane::IMainFactory::createTraceMng ( )
pure virtual

Creates a trace manager.

The returned instance must be initialized via an ITraceMngPolicy.

References createTraceMng().

Referenced by createTraceMng().


The documentation for this class was generated from the following file: