L2Projector projects an expression onto a DiscreteSpace. More...
Public Member Functions | |
| L2Projector () | |
| L2Projector (const DiscreteSpace &space, const Expr &expr) | |
| L2Projector (const DiscreteSpace &space, const Expr &expr, const LinearSolver< double > &solver) | |
| L2Projector (const DiscreteSpace &space, const CoordinateSystem &coordSys, const Expr &expr) | |
| L2Projector (const DiscreteSpace &space, const CoordinateSystem &coordSys, const Expr &expr, const LinearSolver< double > &solver) | |
| Expr | project () const |
| const LinearProblem & | prob () const |
Private Member Functions | |
| void | init (const DiscreteSpace &space, const CoordinateSystem &coordSys, const Expr &expr, const LinearSolver< double > &solver) |
Private Attributes | |
| LinearProblem | prob_ |
| LinearSolver< double > | solver_ |
L2Projector projects an expression onto a DiscreteSpace.
Definition at line 59 of file SundanceL2Projector.hpp.
| Sundance::L2Projector::L2Projector | ( | ) | [inline] |
Definition at line 63 of file SundanceL2Projector.hpp.
| L2Projector::L2Projector | ( | const DiscreteSpace & | space, |
| const Expr & | expr | ||
| ) |
Definition at line 74 of file SundanceL2Projector.cpp.
References init().
| L2Projector::L2Projector | ( | const DiscreteSpace & | space, |
| const Expr & | expr, | ||
| const LinearSolver< double > & | solver | ||
| ) |
Definition at line 55 of file SundanceL2Projector.cpp.
References init().
| L2Projector::L2Projector | ( | const DiscreteSpace & | space, |
| const CoordinateSystem & | coordSys, | ||
| const Expr & | expr | ||
| ) |
Definition at line 98 of file SundanceL2Projector.cpp.
References init().
| L2Projector::L2Projector | ( | const DiscreteSpace & | space, |
| const CoordinateSystem & | coordSys, | ||
| const Expr & | expr, | ||
| const LinearSolver< double > & | solver | ||
| ) |
Definition at line 65 of file SundanceL2Projector.cpp.
References init().
| void L2Projector::init | ( | const DiscreteSpace & | space, |
| const CoordinateSystem & | coordSys, | ||
| const Expr & | expr, | ||
| const LinearSolver< double > & | solver | ||
| ) | [private] |
Definition at line 123 of file SundanceL2Projector.cpp.
References Sundance::ListExpr::append(), Sundance::DiscreteSpace::basis(), Sundance::DiscreteSpace::cellFilters(), Sundance::CoordinateSystem::jacobian(), Sundance::DiscreteSpace::mesh(), prob_, Sundance::Expr::size(), solver_, Sundance::toString(), and Sundance::DiscreteSpace::vecType().
Referenced by L2Projector().
| const LinearProblem& Sundance::L2Projector::prob | ( | ) | const [inline] |
Definition at line 85 of file SundanceL2Projector.hpp.
| Expr Sundance::L2Projector::project | ( | ) | const [inline] |
Definition at line 82 of file SundanceL2Projector.hpp.
Referenced by Sundance::readbackTester().
LinearProblem Sundance::L2Projector::prob_ [private] |
Definition at line 94 of file SundanceL2Projector.hpp.
Referenced by init().
LinearSolver<double> Sundance::L2Projector::solver_ [private] |
Definition at line 96 of file SundanceL2Projector.hpp.
Referenced by init().