diff --git a/pub/lib/node.cpp b/pub/lib/node.cpp index ae53e84f60b8e4f60fce0072b526627e9a46bd24..1a05566a6af14e06852ae6ac455d0380aaf1e0ca 100644 --- a/pub/lib/node.cpp +++ b/pub/lib/node.cpp @@ -1,8 +1,8 @@ -//***************************************************************************// -//* FRIDA: fast reliable interactive data analysis *// -//* (C) Joachim Wuttke 1990-, v2(C++) 2001- *// -//* http://apps.jcns.fz-juelich.de/frida *// -//***************************************************************************// +//****************************************************************************** +//* FRIDA: fast reliable interactive data analysis +//* (C) Joachim Wuttke 1990-, v2(C++) 2001- +//* http://apps.jcns.fz-juelich.de/frida +//****************************************************************************** //! \file node.cpp //! \brief nodes within expression trees, inheriting from virtual base CNode @@ -26,9 +26,9 @@ extern bool allow_slow_conv; // set in curve.cpp #define DEBUG 0 -//***************************************************************************// -//* CNodeFun: function/operator node *// -//***************************************************************************// +//****************************************************************************** +//* CNodeFun: function/operator node +//****************************************************************************** CNodeFun::CNodeFun( const class CFunc *_fun, PNode _a0 ) : fun(_fun), narg(1) @@ -220,9 +220,9 @@ string CNodeFun::tree_info() const return ret; } -//***************************************************************************// -//* CNodeVal: end node containing a numeric value *// -//***************************************************************************// +//****************************************************************************** +//* CNodeVal: end node containing a numeric value +//****************************************************************************** CNodeVal::CNodeVal( double _val ) : val( _val ) {} @@ -231,9 +231,9 @@ void CNodeVal::set_coord( CCoord& ret, int k ) const { ret = CCoord(S(val), ""); } string CNodeVal::tree_info() const { return "val[" + S(val) + "]"; } -//***************************************************************************// -//* CNodeIva: indexed variable node *// -//***************************************************************************// +//****************************************************************************** +//* CNodeIva: indexed variable node +//****************************************************************************** void CNodeIva::npar_exec( int *np ) const { @@ -493,9 +493,9 @@ string CNodeIva::tree_info() const return "ref[" + var->var_info() + "]"; } -//***************************************************************************// -//* CNodeRgr: register reference node *// -//***************************************************************************// +//****************************************************************************** +//* CNodeRgr: register reference node +//****************************************************************************** CNodeRgr::CNodeRgr( PRgr& _rgr ) : rgr( _rgr ) {} @@ -505,13 +505,13 @@ void CNodeRgr::tree_val( CResult& ret, const CContext& ctx ) const { void CNodeRgr::set_coord( CCoord& ret, int k ) const { ret = CCoord( "$", "" ); } // primitiver gehts nicht -//***************************************************************************// -//* CNodeDummy: function argument (t) node *// -//***************************************************************************// +//****************************************************************************** +//* CNodeDummy: function argument (t) node +//****************************************************************************** -//***************************************************************************// -//* CNodeCev: curve evaluation node *// -//***************************************************************************// +//****************************************************************************** +//* CNodeCev: curve evaluation node +//****************************************************************************** CNodeCev::CNodeCev( PRef& _ref, PNode _arg ) : ref( _ref ), arg( _arg ) @@ -555,9 +555,9 @@ void CNodeCev::set_coord( CCoord& ret, int k ) const { ret = CCoord( "c", "" ); } // primitiver gehts nicht -//***************************************************************************// +//****************************************************************************** //* CNodeMixin: Base class for mixing in data from a "convolution" file -//***************************************************************************// +//****************************************************************************** void CNodeMixin::tree_val( CResult& ret, const CContext& ctx ) const { @@ -594,9 +594,10 @@ void CNodeMixin::tree_val( CResult& ret, const CContext& ctx ) const } } -//***************************************************************************// -//* CNodeConvBase: convolution with two arguments: theory, shift *// -//***************************************************************************// + +//****************************************************************************** +//* CNodeConvBase: Base class for convoluting a function with a spectrum. +//****************************************************************************** void CNodeConvBase::kdep_exec( bool *kd ) const { @@ -611,9 +612,9 @@ void CNodeConvBase::npar_exec( int *np ) const } -//***************************************************************************// -//* CNodeConv: convoluted function node *// -//***************************************************************************// +//****************************************************************************** +//* CNodeConv: convoluted function node +//****************************************************************************** void CNodeConv::copy_theory( CResult& ret, const CContext& ctx, double theshift ) const @@ -673,9 +674,9 @@ void CNodeConv::convolve( CResult& ret, const CContext& ctx, } -//***************************************************************************// -//* CNodePConv: convolution with primitive *// -//***************************************************************************// +//****************************************************************************** +//* CNodePConv: convolution with primitive +//****************************************************************************** void CNodePConv::copy_theory( CResult& ret, const CContext& ctx, double theshift ) const @@ -763,9 +764,9 @@ void CNodePConv::convolve( CResult& ret, const CContext& ctx, } -//***************************************************************************// -//* CNodeDirac: node that copies the resolution function *// -//***************************************************************************// +//****************************************************************************** +//* CNodeDirac: node that copies the resolution function +//****************************************************************************** void CNodeDirac::kdep_exec( bool *kd ) const { @@ -811,4 +812,3 @@ void CNodeDirac::copy_theory( CResult& ret, const CContext& ctx, void CNodeDirac::set_coord( CCoord& ret, int k ) const { ret = CCoord("resol", ""); } -