15#include "arcane/core/ICaseMeshMasterService.h"
16#include "arcane/core/IMainFactory.h"
17#include "arcane/core/ICaseMeshService.h"
18#include "arcane/core/MeshBuildInfo.h"
19#include "arcane/impl/ArcaneCaseMeshMasterService_axl.h"
30class ArcaneCaseMeshMasterService
48 info() <<
"Creating meshes from 'ArcaneCaseMeshMasterService' nb_mesh=" << nb_mesh;
51 String name =
String(
"Mesh") + String::fromNumber(index);
63 ARCANE_FATAL(
"You need to call createMeshes() before allocateMeshes()");
66 s->allocateMeshItems();
67 m_is_allocated =
true;
73 ARCANE_FATAL(
"Meshes have do be allocated before partitioning. call allocateMeshes() before");
81 ARCANE_FATAL(
"Meshes are not allocated. call allocateMeshes() before");
83 s->applyAdditionalOperations();
88 return options()->caseOptions();
93 ISubDomain* m_sub_domain;
94 bool m_is_created =
false;
95 bool m_is_allocated =
false;
96 UniqueArray<IPrimaryMesh*> m_meshes;
#define ARCANE_FATAL(...)
Macro throwing a FatalErrorException.
This file contains the various service factories and macros for registering services.
CaseOptionsArcaneCaseMeshMasterService * options() const
Options du jeu de données du service.
ArcaneArcaneCaseMeshMasterServiceObject(const Arcane::ServiceBuildInfo &sbi)
Constructeur.
void partitionMeshes() override
Partitions the meshes.
void allocateMeshes() override
Creates the meshes.
void applyAdditionalOperationsOnMeshes() override
Applies any additional operations on the created mesh.
void createMeshes() override
Creates the meshes.
Interface of the service managing dataset meshes.
Interface for a list of data set options.
ISubDomain * subDomain() const
Access to the associated ISubDomain.
Structure containing the information to create a service.
Unicode character string.
TraceMessage info() const
Flow for an information message.
constexpr Integer size() const noexcept
Returns the size of the array.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.