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;
119#ifndef ARCANE_SERVICE_AXLSTAR_ALEPHTESTSCHEMEFACES_H
120#define ARCANE_SERVICE_AXLSTAR_ALEPHTESTSCHEMEFACES_H
124#include "arcane/core/VariableTypes.h"
125#include "arcane/core/ServiceInfo.h"
126#include "arcane/core/ISubDomain.h"
127#include "arcane/core/ServiceBuildInfo.h"
129#include "arcane/core/ServiceRegisterer.h"
130#include "arcane/core/BasicService.h"
132#ifndef ARCANE_HAS_SPECIFIC_BASIC_SERVICE
137using BasicCaseOptionService = BasicService;
138using BasicSubDomainService = BasicService;
139using BasicMeshService = BasicService;
153 :
public Arcane::BasicCaseOptionService
160 si->setCaseOptionsFileName(
"AlephTestSchemeFaces_arcane_aleph_tests");
161 si->setAxlVersion(1.0);
162 si->setDefaultTagName(
"aleph-test-scheme-faces");
163 si->setAxlContent(getAxlContent());
173 :
Arcane::BasicCaseOptionService(sbi)
176 , m_face_temperature(
Arcane::VariableBuildInfo(sbi.meshHandle(),
"FaceTemperature" ,
Arcane::IVariable::PNoDump))
177 , m_cell_matrix_idx(
Arcane::VariableBuildInfo(sbi.meshHandle(),
"CellMatrixIdx" ,
Arcane::IVariable::PNoDump|
Arcane::IVariable::PNoNeedSync))
178 , m_cell_coefs(
Arcane::VariableBuildInfo(sbi.meshHandle(),
"CellCoefs" ,
Arcane::IVariable::PNoDump|
Arcane::IVariable::PNoNeedSync))
216 int file_version = 1;
224#define ARCANE_REGISTER_SERVICE_ALEPHTESTSCHEMEFACES(service_name,class_name) \
225 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.
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.