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

Sundance::ProductExpr Class Reference

#include <ProductExpr.h>

Inheritance diagram for Sundance::ProductExpr:

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

Public Methods

Developer-only methods

Private Methods

Private Attributes


Detailed Description

A product of several expressions with a possible constant factor.

Definition at line 23 of file ProductExpr.h.


Constructor & Destructor Documentation

Sundance::ProductExpr::ProductExpr const Expr   e1,
const Expr   e2,
const double &    sign
 

Sundance::ProductExpr::ProductExpr const double &    constant,
const Expr   term,
const double &    factor
 

virtual Sundance::ProductExpr::~ProductExpr   [virtual]
 


Member Function Documentation

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

Reimplemented from Sundance::ExprBase.

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

Reimplemented from Sundance::ExprBase.

virtual void Sundance::ProductExpr::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::ProductExpr::average const Cell   cell const [virtual]
 

Reimplemented from Sundance::ExprBase.

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

Reimplemented from Sundance::ExprBase.

virtual void Sundance::ProductExpr::pow const double &    p,
Expr   resulit
const [virtual]
 

Reimplemented from Sundance::ExprBase.

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

Implements Sundance::ExprBase.

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

Implements Sundance::ExprBase.

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

Reimplemented from Sundance::ExprBase.

Definition at line 64 of file ProductExpr.h.

References Sundance::PRODUCTEXPR.

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

Implements Sundance::TermListExpr.

virtual bool Sundance::ProductExpr::isProductExpr   const [inline, virtual]
 

Reimplemented from Sundance::ExprBase.

Definition at line 70 of file ProductExpr.h.

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

Reimplemented from Sundance::TermListExpr.

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

Reimplemented from Sundance::TermListExpr.

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

Reimplemented from Sundance::ExprBase.

virtual void Sundance::ProductExpr::extractPrefactor double &    prefactor,
Expr   result
const [virtual]
 

Reimplemented from Sundance::ExprBase.

virtual bool Sundance::ProductExpr::getValidWeakForm Expr   coeff,
Expr   var,
Expr   unk
const [virtual]
 

Reimplemented from Sundance::ExprBase.

virtual void Sundance::ProductExpr::invert   [virtual]
 

Reimplemented from Sundance::TermListExpr.

Expr Sundance::ProductExpr::times const Expr   expr,
int    sign
 

void Sundance::ProductExpr::checkForCancellations Expr   result [virtual]
 

Reimplemented from Sundance::ExprBase.

virtual double Sundance::ProductExpr::constant   const [inline, virtual]
 

Reimplemented from Sundance::ExprBase.

Definition at line 94 of file ProductExpr.h.

References constant_.

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

Reimplemented from Sundance::ExprBase.

virtual void Sundance::ProductExpr::substitute const Expr   u,
const Expr   du,
Expr   result
const [virtual]
 

Reimplemented from Sundance::ExprBase.

Expr Sundance::ProductExpr::firstDerivative int    dir const [private]
 


Member Data Documentation

double Sundance::ProductExpr::constant_ [private]
 

Definition at line 110 of file ProductExpr.h.

Referenced by constant().


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


Documentation generated by