8#ifndef ARCANE_CASEOPTION_AXLSTAR_ALEPHTESTSCHEMEFACES_H
9#define ARCANE_CASEOPTION_AXLSTAR_ALEPHTESTSCHEMEFACES_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"
25class CaseOptionsAlephTestSchemeFaces
52 bool getAmr() {
return amr(); }
65 return m_case_options.get();
70 return m_case_options->configList();
75 m_case_options->setCaseModule(m);
80 m_case_options->setCaseServiceInfo(si);
86 m_case_options->addAlternativeNodeName(lang,name);
103 Arcane::CaseOptionBool amr;
120#ifndef ARCANE_MODULE_AXLSTAR_ALEPHTESTSCHEMEFACES_H
121#define ARCANE_MODULE_AXLSTAR_ALEPHTESTSCHEMEFACES_H
126#include "arcane/VariableTypes.h"
127#include "arcane/ServiceInfo.h"
128#include "arcane/ISubDomain.h"
129#include "arcane/ServiceBuildInfo.h"
130#include "arcane/ServiceFactory.h"
131#include "arcane/ServiceRegisterer.h"
132#include "arcane/BasicService.h"
134#ifndef ARCANE_HAS_SPECIFIC_BASIC_SERVICE
139using BasicCaseOptionService = BasicService;
140using BasicSubDomainService = BasicService;
141using BasicMeshService = BasicService;
155 :
public Arcane::BasicCaseOptionService
162 si->setCaseOptionsFileName(
"AlephTestSchemeFaces_arcane_aleph_tests");
163 si->setAxlVersion(1.0);
164 si->setDefaultTagName(
"aleph-test-scheme-faces");
165 si->setAxlContent(getAxlContent());
175 :
Arcane::BasicCaseOptionService(sbi)
178 , m_face_temperature(
Arcane::VariableBuildInfo(sbi.meshHandle(),
"FaceTemperature" ,
Arcane::IVariable::PNoDump))
179 , m_cell_matrix_idx(
Arcane::VariableBuildInfo(sbi.meshHandle(),
"CellMatrixIdx" ,
Arcane::IVariable::PNoDump|
Arcane::IVariable::PNoNeedSync))
180 , m_cell_coefs(
Arcane::VariableBuildInfo(sbi.meshHandle(),
"CellCoefs" ,
Arcane::IVariable::PNoDump|
Arcane::IVariable::PNoNeedSync))
218 int file_version = 1;
226#define ARCANE_REGISTER_SERVICE_ALEPHTESTSCHEMEFACES(service_name,class_name) \
227 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.
CaseOptionsAlephTestSchemeFaces * m_options
Options du jeu de données du service.
Arcane::VariableCellReal m_cell_temperature
Variables du service.
ArcaneAlephTestSchemeFacesObject(const Arcane::ServiceBuildInfo &sbi)
Constructeur.
virtual ~ArcaneAlephTestSchemeFacesObject()
Destructeur.
CaseOptionsAlephTestSchemeFaces * options() const
Options du jeu de données du service.
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 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.
MeshVariableScalarRefT< Face, Real > VariableFaceReal
Real type quantity at face.
MeshVariableScalarRefT< Cell, Real > VariableCellReal
Real type quantity at cell center.
MeshVariableScalarRefT< Cell, Integer > VariableCellInteger
Quantity at the cell center of integer type.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
unsigned char Byte
Type of a byte.