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;
152#ifndef ARCANE_SERVICE_AXLSTAR_PTSCOTCHMESHPARTITIONER_H
153#define ARCANE_SERVICE_AXLSTAR_PTSCOTCHMESHPARTITIONER_H
157#include "arcane/core/VariableTypes.h"
158#include "arcane/core/ServiceInfo.h"
159#include "arcane/core/ISubDomain.h"
160#include "arcane/core/ServiceBuildInfo.h"
162#include "arcane/core/ServiceRegisterer.h"
163#include "arcane/core/BasicService.h"
165#ifndef ARCANE_HAS_SPECIFIC_BASIC_SERVICE
185class CaseOptionsPTScotchMeshPartitioner;
192 :
public MeshPartitionerBase
198 si->setCaseOptionsFileName(
"PTScotchMeshPartitioner_arcane_std");
199 si->setAxlVersion(0.0);
200 si->setDefaultTagName(
"p-t-scotch-mesh-partitioner");
202 si->setTagName(
"PTScotch",
"fr");
213 : MeshPartitionerBase(sbi)
248 int file_version = 1;
256#define ARCANE_REGISTER_SERVICE_PTSCOTCHMESHPARTITIONER(service_name,class_name) \
257 ARCANE_REGISTER_AXL_SERVICE(class_name,Arcane::ServiceProperty(#service_name,Arcane::ST_CaseOption,\
This file contains the various service factories and macros for registering services.
#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.