37class CaseOptionsArcanePostProcessing
46 class CaseOptionOutput
55 "variable", _element(),
72group.addAlternativeNodeName(
80 const CaseOptionOutput& operator()()
const {
return *
this; }
110 : m_case_options(new
Arcane::CaseOptions(cm,
"arcane-post-processing"))
111 , outputFrequency(
Arcane::CaseOptionBuildInfo(_configList(),
112 "output-frequency", _element(),
117 , outputPeriod(
Arcane::CaseOptionBuildInfo(_configList(),
118 "output-period", _element(),
123 , outputHistoryPeriod(
Arcane::CaseOptionBuildInfo(_configList(),
124 "output-history-period", _element(),
129 , outputHistoryShrink(
Arcane::CaseOptionBuildInfo(_configList(),
130 "output-history-shrink", _element(),
135 , saveInit(
Arcane::CaseOptionBuildInfo(_configList(),
136 "save-init", _element(),
141 , saveFinalTime(
Arcane::CaseOptionBuildInfo(_configList(),
142 "save-final-time", _element(),
147 , endExecutionOutput(
Arcane::CaseOptionBuildInfo(_configList(),
148 "end-execution-output", _element(),
153 , format(
Arcane::CaseOptionBuildInfo(_configList(),
154 "format", _element(),
155 "Ensight7PostProcessor",
161 , output(_configList(),
162 "output", _element())
165format.addAlternativeNodeName(
168outputFrequency.addAlternativeNodeName(
171outputPeriod.addAlternativeNodeName(
174outputHistoryPeriod.addAlternativeNodeName(
177outputHistoryShrink.addAlternativeNodeName(
180saveInit.addAlternativeNodeName(
183saveFinalTime.addAlternativeNodeName(
186endExecutionOutput.addAlternativeNodeName(
189output.addAlternativeNodeName(
192addAlternativeNodeName(
200 Arcane::Real getOutputFrequency() {
return outputFrequency(); }
201 Arcane::ICaseFunction* getOutputFrequencyFunction() {
return outputFrequency.function(); }
202 Arcane::IStandardFunction* getOutputFrequencyStandardFunction() {
return outputFrequency.standardFunction(); }
204 Arcane::ICaseFunction* getOutputPeriodFunction() {
return outputPeriod.function(); }
205 Arcane::IStandardFunction* getOutputPeriodStandardFunction() {
return outputPeriod.standardFunction(); }
206 Arcane::Integer getOutputHistoryPeriod() {
return outputHistoryPeriod(); }
207 Arcane::ICaseFunction* getOutputHistoryPeriodFunction() {
return outputHistoryPeriod.function(); }
208 Arcane::IStandardFunction* getOutputHistoryPeriodStandardFunction() {
return outputHistoryPeriod.standardFunction(); }
209 bool getOutputHistoryShrink() {
return outputHistoryShrink(); }
210 Arcane::ICaseFunction* getOutputHistoryShrinkFunction() {
return outputHistoryShrink.function(); }
211 Arcane::IStandardFunction* getOutputHistoryShrinkStandardFunction() {
return outputHistoryShrink.standardFunction(); }
212 bool getSaveInit() {
return saveInit(); }
213 Arcane::ICaseFunction* getSaveInitFunction() {
return saveInit.function(); }
214 Arcane::IStandardFunction* getSaveInitStandardFunction() {
return saveInit.standardFunction(); }
215 bool getSaveFinalTime() {
return saveFinalTime(); }
216 Arcane::ICaseFunction* getSaveFinalTimeFunction() {
return saveFinalTime.function(); }
217 Arcane::IStandardFunction* getSaveFinalTimeStandardFunction() {
return saveFinalTime.standardFunction(); }
218 bool getEndExecutionOutput() {
return endExecutionOutput(); }
219 Arcane::ICaseFunction* getEndExecutionOutputFunction() {
return endExecutionOutput.function(); }
220 Arcane::IStandardFunction* getEndExecutionOutputStandardFunction() {
return endExecutionOutput.standardFunction(); }
224 Arcane::IPostProcessorWriter* getFormat() {
return format(); }
230 Arcane::ICaseOptions* caseOptions()
const
232 return m_case_options.get();
235 Arcane::ICaseOptionList* configList()
const
237 return m_case_options->configList();
240 void setCaseModule(Arcane::IModule* m)
242 m_case_options->setCaseModule(m);
245 void setCaseServiceInfo(Arcane::IServiceInfo* si)
247 m_case_options->setCaseServiceInfo(si);
250 void addAlternativeNodeName(
const Arcane::String& lang,
251 const Arcane::String& name)
253 m_case_options->addAlternativeNodeName(lang,name);
258 Arcane::ICaseOptionList* _configList()
const {
return configList(); }
259 Arcane::XmlNode _element()
const {
return Arcane::XmlNode(); }
263 static Arcane::ICaseOptions* _createCaseOption(Arcane::ICaseMng* cm,Arcane::ICaseOptions* co);
265 Arcane::ReferenceCounter<Arcane::ICaseOptions> m_case_options;
270 Arcane::CaseOptionReal outputFrequency;
271 Arcane::CaseOptionInteger outputPeriod;
272 Arcane::CaseOptionInteger outputHistoryPeriod;
273 Arcane::CaseOptionBool outputHistoryShrink;
274 Arcane::CaseOptionBool saveInit;
275 Arcane::CaseOptionBool saveFinalTime;
276 Arcane::CaseOptionBool endExecutionOutput;
277 Arcane::CaseOptionServiceT< Arcane::IPostProcessorWriter > format;
328class ArcaneArcanePostProcessingObject
335 si->setCaseOptionsFileName(
"ArcanePostProcessing_arcane_std");
336 si->setAxlVersion(1.0);
338 si->setAxlContent(getAxlContent());
355 addEntryPoint(
this,
"PostProcessingExportData",
359 addEntryPoint(
this,
"PostProcessingExportDataStart",
360 &ArcaneArcanePostProcessingObject::exportDataStart,
363 addEntryPoint(
this,
"PostProcessingStartInit",
364 &ArcaneArcanePostProcessingObject::postProcessingStartInit,
367 addEntryPoint(
this,
"PostProcessingInit",
368 &ArcaneArcanePostProcessingObject::postProcessingInit,
371 addEntryPoint(
this,
"PostProcessingExit",
372 &ArcaneArcanePostProcessingObject::postProcessingExit,
373 Arcane::IEntryPoint::WExit,
377 virtual ~ArcaneArcanePostProcessingObject()
386 virtual void exportDataStart() = 0;
387 virtual void postProcessingStartInit() = 0;
388 virtual void postProcessingInit() = 0;
389 virtual void postProcessingExit() = 0;
411 const char* str_content =
"";
414 int file_version = 1;
CaseOptionsArcanePostProcessing * options() const
Options du jeu de données du module.
CaseOptionsArcanePostProcessing * m_options
Options du jeu de données du module.
Description et contenu d'un fichier.
static const char *const WComputeLoop
appelé pendant la boucle de calcul
static const char *const WStartInit
appelé pendant l'initialisation d'un nouveau cas
@ PAutoLoadEnd
Chargé automatiquement à la fin. Cela signifie qu'un module possédant un point d'entrée avec cette pr...
@ PAutoLoadBegin
Chargé automatiquement au début. Cela signifie qu'un module possédant un point d'entrée avec cette pr...
static const char *const WInit
appelé pendant l'initialisation
Interface du gestionnaire d'un sous-domaine.
virtual ICaseMng * caseMng()=0
Retourne le gestionnaire du jeu de données.