Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Examples  

Sundance::PowerExpr Class Reference

#include <PowerExpr.h>

Inheritance diagram for Sundance::PowerExpr:

Sundance::UnaryExpr Sundance::ExprBase List of all members.

Public Methods

Developer-only methods

Private Attributes


Detailed Description

An expression raised to a constant real power.

Definition at line 23 of file PowerExpr.h.


Constructor & Destructor Documentation

Sundance::PowerExpr::PowerExpr const Expr   base,
const double &    exponent
 

virtual Sundance::PowerExpr::~PowerExpr   [inline, virtual]
 

Definition at line 30 of file PowerExpr.h.


Member Function Documentation

virtual double Sundance::PowerExpr::value   const [virtual]
 

Reimplemented from Sundance::ExprBase.

virtual void Sundance::PowerExpr::evaluate const WorkSet   workSet,
const QuadratureFamily   quadFamily,
DenseSerialVector &    result
const [virtual]
 

Reimplemented from Sundance::ExprBase.

virtual void Sundance::PowerExpr::evaluate const AbstractFunctionSpace   targetSpace,
const TSFArray< Cell > &    cells,
const TSFArray< int > &    cellIndices,
const TSFArray< int > &    dofIndices,
const TSFArray< Point > &    x,
DenseSerialVector &    values
const [virtual]
 

Reimplemented from Sundance::ExprBase.

virtual ExprValue Sundance::PowerExpr::average const Cell   cell const [virtual]
 

Reimplemented from Sundance::ExprBase.

virtual void Sundance::PowerExpr::derivative const MultiIndex   d,
Expr   result
const [virtual]
 

Reimplemented from Sundance::ExprBase.

virtual bool Sundance::PowerExpr::operator== const Expr   other const [virtual]
 

Implements Sundance::ExprBase.

virtual bool Sundance::PowerExpr::operator< const Expr   other const [virtual]
 

Implements Sundance::ExprBase.

virtual int Sundance::PowerExpr::sortPriority   const [inline, virtual]
 

Reimplemented from Sundance::ExprBase.

Definition at line 64 of file PowerExpr.h.

References Sundance::POWEREXPR.

virtual ExprBase* Sundance::PowerExpr::clone   const [virtual]
 

Implements Sundance::ExprBase.

virtual bool Sundance::PowerExpr::isSpatiallyConstant   const [inline, virtual]
 

Reimplemented from Sundance::ExprBase.

Definition at line 70 of file PowerExpr.h.

References Sundance::UnaryExpr::expr_, and Sundance::Expr::isSpatiallyConstant().

virtual bool Sundance::PowerExpr::getMesh Mesh   mesh const [virtual]
 

Reimplemented from Sundance::ExprBase.

virtual void Sundance::PowerExpr::print ostream &    os,
bool    paren = false
const [virtual]
 

Implements Sundance::ExprBase.

virtual string Sundance::PowerExpr::toString bool    paren = false const [virtual]
 

Reimplemented from Sundance::ExprBase.

virtual XMLObject Sundance::PowerExpr::toXML   const [virtual]
 

Reimplemented from Sundance::ExprBase.

const string& Sundance::PowerExpr::name   const [inline, virtual]
 

Reimplemented from Sundance::ExprBase.

Definition at line 83 of file PowerExpr.h.

References name_.

virtual void Sundance::PowerExpr::differential const Expr   u,
const Expr   du,
Expr   result
const [virtual]
 

Reimplemented from Sundance::ExprBase.

virtual void Sundance::PowerExpr::substitute const Expr   u,
const Expr   u0,
Expr   result
const [virtual]
 

Reimplemented from Sundance::ExprBase.


Member Data Documentation

string Sundance::PowerExpr::name_ [private]
 

Definition at line 94 of file PowerExpr.h.

Referenced by name().

double Sundance::PowerExpr::exponent_ [private]
 

Definition at line 95 of file PowerExpr.h.


The documentation for this class was generated from the following file:
Contact:
Kevin Long (krlong@ca.sandia.gov)


Documentation generated by