8#ifndef ARCANE_CASEOPTION_AXLSTAR_PTSCOTCHMESHPARTITIONER_H
9#define ARCANE_CASEOPTION_AXLSTAR_PTSCOTCHMESHPARTITIONER_H
14#include "arcane/utils/String.h"
16#include "arcane/CaseOptions.h"
17#include "arcane/CaseOptionsMulti.h"
18#include "arcane/CaseOptionBuildInfo.h"
19#include "arcane/XmlNodeList.h"
30class CaseOptionsPTScotchMeshPartitioner
45 "dump-graph", _element(),
51 "check-graph", _element(),
57 "strategy", _element(),
64addAlternativeNodeName(
72 bool getDumpGraph() {
return dumpGraph(); }
75 bool getCheckGraph() {
return checkGraph(); }
91 return m_case_options.get();
96 return m_case_options->configList();
101 m_case_options->setCaseModule(m);
106 m_case_options->setCaseServiceInfo(si);
112 m_case_options->addAlternativeNodeName(lang,name);
129 Arcane::CaseOptionBool dumpGraph;
130 Arcane::CaseOptionBool checkGraph;
131 Arcane::CaseOptionString strategy;
153#ifndef ARCANE_MODULE_AXLSTAR_PTSCOTCHMESHPARTITIONER_H
154#define ARCANE_MODULE_AXLSTAR_PTSCOTCHMESHPARTITIONER_H
159#include "arcane/VariableTypes.h"
160#include "arcane/ServiceInfo.h"
161#include "arcane/ISubDomain.h"
162#include "arcane/ServiceBuildInfo.h"
163#include "arcane/ServiceFactory.h"
164#include "arcane/ServiceRegisterer.h"
165#include "arcane/BasicService.h"
167#ifndef ARCANE_HAS_SPECIFIC_BASIC_SERVICE
187class CaseOptionsPTScotchMeshPartitioner;
194 :
public MeshPartitionerBase
200 si->setCaseOptionsFileName(
"PTScotchMeshPartitioner_arcane_std");
201 si->setAxlVersion(0.0);
202 si->setDefaultTagName(
"p-t-scotch-mesh-partitioner");
204 si->setTagName(
"PTScotch",
"fr");
215 : MeshPartitionerBase(sbi)
250 int file_version = 1;
258#define ARCANE_REGISTER_SERVICE_PTSCOTCHMESHPARTITIONER(service_name,class_name) \
259 ARCANE_REGISTER_AXL_SERVICE(class_name,Arcane::ServiceProperty(#service_name,Arcane::ST_CaseOption,\
#define ARCANE_SERVICE_INTERFACE(ainterface)
Macro to declare an interface when registering a service.
CaseOptionsPTScotchMeshPartitioner * m_options
Options du jeu de données du service.
virtual ~ArcanePTScotchMeshPartitionerObject()
Destructeur.
ArcanePTScotchMeshPartitionerObject(const Arcane::ServiceBuildInfo &sbi)
Constructeur.
CaseOptionsPTScotchMeshPartitioner * options() const
Options du jeu de données du service.
static Arcane::FileContent getAxlContent()
Variables du service.
Base class of a service linked to a subdomain.
Information for building a dataset option.
Description and content of a file.
Interface of a dataset function.
Interface for a data set options list.
Interface for a list of data set options.
Interface of a mesh partitioner.
Interface of a mesh partitioner.
Interface for service or module information.
Interface managing a standard function.
Information about a service.
Encapsulation of a pointer with a reference counter.
static void registerToServiceInfo(ServiceInfo *si, const Interfaces &... args)
Registers the factories for the Interfaces interfaces in the service.
ICaseOptions * caseOptions() const
Access to the associated ICaseOptions.
Structure containing the information to create a service.
View of an array of elements of type T.
Unicode character string.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
unsigned char Byte
Type of a byte.