Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
CaseOptionsMain.cc
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* CaseOptionsArcane.h (C) 2000-2006 */
9/* */
10/* Options principales de Arcane. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arcane/utils/ArcanePrecomp.h"
15
16#include "arcane/CaseOptionsMain.h"
17#include "arcane/CaseOptionBuildInfo.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22ARCANE_BEGIN_NAMESPACE
23
24/*---------------------------------------------------------------------------*/
25/*---------------------------------------------------------------------------*/
26
27CaseOptionsMain::
28CaseOptionsMain(ICaseMng* cm)
29: CaseOptions(cm,String("main"))
30, doTimeHistory(CaseOptionBuildInfo(configList(),String("do-time-history"),XmlNode(0),String("true"),1,1),String())
31, writeHistoryPeriod(CaseOptionBuildInfo(configList(),String("write-history-period"),XmlNode(0),String("0"),1,1),String())
32{
33 doTimeHistory.addAlternativeNodeName(String("fr"),String("avec-historique"));
34 writeHistoryPeriod.addAlternativeNodeName(String("fr"),String("periode-ecriture-historique"));
35 addAlternativeNodeName(String("fr"),String("maitre"));
36}
37
38/*---------------------------------------------------------------------------*/
39/*---------------------------------------------------------------------------*/
40
41CaseOptionsMain::
42~CaseOptionsMain()
43{
44}
45/*---------------------------------------------------------------------------*/
46/*---------------------------------------------------------------------------*/
47
48ARCANE_END_NAMESPACE
49
50/*---------------------------------------------------------------------------*/
51/*---------------------------------------------------------------------------*/