#include <Expr.h>
Definition at line 43 of file Expr.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by Sundance::cross(). |
|
|
|
|
|
|
|
|
|
Returns a test function with the same basis as this function |
|
|
|
|
|
|
|
|
|
Returns an unknown function with the same basis as this function |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This takes no account of cell areas and is therefore not necessarily the L2 norm of the expression. It will suffice for some purposes, however, and is fast because it doesn't have to do any integration. |
|
|
|
Referenced by Sundance::cross(), Sundance::HoldExpr::toString(), and Sundance::toString(). |
|
|
|
Referenced by Sundance::HoldExpr::toXML(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by Sundance::ParametricVectorElement::coeffVal(), Sundance::ParametricMatrixElement::coeffVal(), and Sundance::HoldExpr::value(). |
|
|
|
Referenced by Sundance::HoldExpr::name(), and Sundance::FieldWriter::writeField(). |
|
This can save computation time in certain contexts, e.g., norms and integrals, by reducing the number of monomials that must be processed. |
|
|
|
Referenced by Sundance::UnaryExpr::watchOn(). |
|
Referenced by Sundance::UnaryExpr::watchOff(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 323 of file Expr.h. References handle(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by Sundance::StdFunctionExpr::isSpatiallyConstant(), Sundance::PowerExpr::isSpatiallyConstant(), and Sundance::HoldExpr::isSpatiallyConstant(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 393 of file Expr.h. References handle(), and Sundance::ExprHandle::ptr(). |
|
|
|
|
|
x=x+y |
|
|
|
Referenced by Sundance::operator<<(), and Sundance::HoldExpr::print(). |
|
Referenced by Sundance::DiscreteFunctionDeriv::getBasis(). |
|
|
|
|
|
|
|
If the monomial contains more than one unknown or test function, or if it contains no test function, it is not a valid weak form and this function will return false. If valid, return true. |
|
|
|
|
|
Referenced by Sundance::hashCode(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 452 of file Expr.h. References handle(), and Sundance::ExprHandle::ptr(). |
|
|
|
Definition at line 454 of file Expr.h. References ptrToHandle_. |
|
Definition at line 455 of file Expr.h. References ptrToHandle_. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Both terms must have the same list structure. |
|
Both terms must have the same list structure. |
|
|
|
The denominator must be a scalar-valued expr. |
|
The expr must be scalar valued. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 458 of file Expr.h. Referenced by handle(). |
|
|