1 | #include "temporal_splitting.hpp" |
---|
2 | #include "type.hpp" |
---|
3 | #include "axis.hpp" |
---|
4 | #include "domain.hpp" |
---|
5 | #include "scalar.hpp" |
---|
6 | |
---|
7 | namespace xios { |
---|
8 | |
---|
9 | /// ////////////////////// Définitions ////////////////////// /// |
---|
10 | |
---|
11 | CTemporalSplitting::CTemporalSplitting(void) |
---|
12 | : CObjectTemplate<CTemporalSplitting>(), CTemporalSplittingAttributes(), CTransformation<CAxis>() |
---|
13 | { /* Ne rien faire de plus */ } |
---|
14 | |
---|
15 | CTemporalSplitting::CTemporalSplitting(const StdString & id) |
---|
16 | : CObjectTemplate<CTemporalSplitting>(id), CTemporalSplittingAttributes(), CTransformation<CAxis>() |
---|
17 | { /* Ne rien faire de plus */ } |
---|
18 | |
---|
19 | CTemporalSplitting::~CTemporalSplitting(void) |
---|
20 | {} |
---|
21 | |
---|
22 | CTransformation<CAxis>* CTemporalSplitting::create(const StdString& id, xml::CXMLNode* node) |
---|
23 | { |
---|
24 | CTemporalSplitting* temporalSplitting = CTemporalSplittingGroup::get("temporal_splitting_definition")->createChild(id); |
---|
25 | if (node) temporalSplitting->parse(*node); |
---|
26 | return static_cast<CTransformation<CAxis>*>(temporalSplitting); |
---|
27 | } |
---|
28 | |
---|
29 | bool CTemporalSplitting::registerTrans() |
---|
30 | { |
---|
31 | return registerTransformation(TRANS_TEMPORAL_SPLITTING, CTemporalSplitting::create); |
---|
32 | } |
---|
33 | |
---|
34 | bool CTemporalSplitting::_dummyRegistered = CTemporalSplitting::registerTrans(); |
---|
35 | |
---|
36 | //---------------------------------------------------------------- |
---|
37 | |
---|
38 | StdString CTemporalSplitting::GetName(void) { return StdString("temporal_splitting"); } |
---|
39 | StdString CTemporalSplitting::GetDefName(void) { return StdString("temporal_splitting"); } |
---|
40 | ENodeType CTemporalSplitting::GetType(void) { return eTemporalSplitting; } |
---|
41 | |
---|
42 | void CTemporalSplitting::checkValid(CAxis* axisDst, CScalar* scalarSrc) |
---|
43 | { |
---|
44 | |
---|
45 | } |
---|
46 | |
---|
47 | } |
---|