Sundance::CoordExpr Class Reference

Inheritance diagram for Sundance::CoordExpr:

Sundance::EvaluatableExpr Sundance::GenericEvaluatorFactory< CoordExpr, CoordExprEvaluator > Sundance::ScalarExpr Sundance::EvaluatorFactory Sundance::FuncSetAccumulator Sundance::ObjectWithClassVerbosity< EvaluatableExpr > Sundance::EvaluatorFactory Sundance::ExprBase Playa::ObjectWithVerbosity Playa::Handleable< ExprBase >

List of all members.

Public Member Functions

 CoordExpr (int dir, const std::string &name="")
virtual ~CoordExpr ()
virtual XMLObject toXML () const
int dir () const
const std::string & name () const
virtual std::ostream & toText (std::ostream &os, bool paren) const
virtual Set< MultipleDerivinternalFindW (int order, const EvalContext &context) const
virtual Set< MultipleDerivinternalFindC (int order, const EvalContext &context) const
virtual Set< MultipleDerivinternalFindV (int order, const EvalContext &context) const
virtual RCP< ExprBasegetRcp ()
virtual bool lessThan (const ScalarExpr *other) const

Static Public Member Functions

static std::string coordName (int dir, const std::string &name)

Private Attributes

int dir_
std::string name_

Detailed Description

CoordExpr is an expression that returns one of the cartesian coordinates for each point at which it evaluated. Which coordinate (i.e., $x$, $y$, or $z$) to be represented is specified by the first argement to the constructor.

Definition at line 49 of file SundanceCoordExpr.hpp.

Constructor & Destructor Documentation

CoordExpr::CoordExpr ( int  dir,
const std::string &  name = "" 

Definition at line 42 of file SundanceCoordExpr.cpp.

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

Definition at line 57 of file SundanceCoordExpr.hpp.

Member Function Documentation

string CoordExpr::coordName ( int  dir,
const std::string &  name 
) [static]

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

virtual RCP<ExprBase> Sundance::CoordExpr::getRcp (  )  [inline, virtual]

Implements Playa::Handleable< ExprBase >.

Definition at line 86 of file SundanceCoordExpr.hpp.

Set< MultipleDeriv > CoordExpr::internalFindC ( int  order,
const EvalContext context 
) const [virtual]

Set< MultipleDeriv > CoordExpr::internalFindV ( int  order,
const EvalContext context 
) const [virtual]

Set< MultipleDeriv > CoordExpr::internalFindW ( int  order,
const EvalContext context 
) const [virtual]

bool CoordExpr::lessThan ( const ScalarExpr other  )  const [virtual]

Ordering operator for use in transforming exprs to standard form

Implements Sundance::ScalarExpr.

Definition at line 48 of file SundanceCoordExpr.cpp.

References dir().

const std::string& Sundance::CoordExpr::name (  )  const [inline]

Definition at line 66 of file SundanceCoordExpr.hpp.

References name_.

Referenced by Sundance::StringEvalMediator::evalCoordExpr(), toText(), and toXML().

virtual std::ostream& Sundance::CoordExpr::toText ( std::ostream &  os,
bool  paren 
) const [inline, virtual]

Write a simple text description suitable for output to a terminal

Implements Sundance::ExprBase.

Definition at line 70 of file SundanceCoordExpr.hpp.

References name().

XMLObject CoordExpr::toXML (  )  const [virtual]

Implements Sundance::ExprBase.

Definition at line 55 of file SundanceCoordExpr.cpp.

References dir_, name(), and Teuchos::toString().

Member Data Documentation

Definition at line 94 of file SundanceCoordExpr.hpp.

Referenced by dir(), internalFindC(), internalFindW(), and toXML().

std::string Sundance::CoordExpr::name_ [private]

Definition at line 95 of file SundanceCoordExpr.hpp.

Referenced by name().

Site Contact