Sundance::CoordDeriv Class Reference

List of all members.

Public Member Functions

 CoordDeriv (int dir)
virtual ~CoordDeriv ()
int dir () const
virtual bool lessThan (const Deriv &other) const
virtual std::string toString () const

Handleable interface



int dir_
static int maxDim ()


Detailed Description

CoordDeriv represents a single first-order derivative with respect to a coordinate function. It is used internally to represent differentiation of explicit coordinate dependence.

See also:
Deriv

Definition at line 54 of file SundanceCoordDeriv.hpp.


Constructor & Destructor Documentation

CoordDeriv::CoordDeriv ( int  dir  ) 

Definition at line 42 of file SundanceCoordDeriv.cpp.

virtual Sundance::CoordDeriv::~CoordDeriv (  )  [inline, virtual]

Definition at line 61 of file SundanceCoordDeriv.hpp.


Member Function Documentation

int Sundance::CoordDeriv::dir (  )  const [inline]

Definition at line 64 of file SundanceCoordDeriv.hpp.

References dir_.

bool CoordDeriv::lessThan ( const Deriv other  )  const [virtual]

static int Sundance::CoordDeriv::maxDim (  )  [inline, static]

Definition at line 76 of file SundanceCoordDeriv.hpp.

string CoordDeriv::toString (  )  const [virtual]

Definition at line 59 of file SundanceCoordDeriv.cpp.

References Sundance::CoordExpr::coordName(), and dir_.


Member Data Documentation

Definition at line 78 of file SundanceCoordDeriv.hpp.

Referenced by dir(), lessThan(), and toString().

Site Contact