22 CReduceAxisToAxis* reduceAxis = CReduceAxisToAxisGroup::get(
"reduce_axis_to_axis_definition")->createChild(
id);
23 if (node) reduceAxis->
parse(*node);
43 if (this->operation.isEmpty())
44 ERROR(
"CReduceAxisToAxis::checkValid(CAxis* axisDst, CAxis* axisSrc)",
45 <<
"An operation must be defined."
46 <<
"Axis source " <<axisSrc->
getId() << std::endl
47 <<
"Axis destination " << axisDst->
getId());
50 if (axisDst->n_glo != axisSrc->n_glo)
51 ERROR(
"CReduceAxisToAxis::checkValid(CAxis* axisDst, CAxis* axisSrc)",
52 <<
"both axis should have same n_glo"
53 <<
"Axis source " <<axisSrc->
getId() <<
" has n_glo " << axisSrc->n_glo << std::endl
54 <<
"Axis destination " << axisDst->
getId() <<
" has n_glo " << axisDst->n_glo);
static CTransformation< CAxis > * create(const StdString &id, xml::CXMLNode *node)
static bool _dummyRegistered
static ENodeType GetType(void)
static StdString GetDefName(void)
virtual void checkValid(CAxis *axisDst, CAxis *axisSrc)
const StdString & getId(void) const
Accesseurs ///.
static StdString GetName(void)
Accesseurs statiques ///.
CATCH CScalarAlgorithmReduceScalar::CScalarAlgorithmReduceScalar(CScalar *scalarDestination, CScalar *scalarSource, CReduceScalarToScalar *algo ERROR)("CScalarAlgorithmReduceScalar::CScalarAlgorithmReduceScalar(CScalar* scalarDestination, CScalar* scalarSource, CReduceScalarToScalar* algo)",<< "Operation must be defined."<< "Scalar source "<< scalarSource->getId()<< std::endl<< "Scalar destination "<< scalarDestination->getId())
////////////////////// Déclarations ////////////////////// ///
CReduceAxisToAxis(void)
Constructeurs ///.
virtual void parse(xml::CXMLNode &node)
enum xios::_node_type ENodeType
////////////////////// Définitions ////////////////////// ///
static bool registerTrans()
virtual ~CReduceAxisToAxis(void)
Destructeur ///.