Class xlifepp::OperatorOnFunction#
-
class OperatorOnFunction#
-
describes the operations to process on Function.
Public Functions
-
inline OperatorOnFunction()#
-
default constructor
-
OperatorOnFunction(const Function&, DiffOpType = _id)#
-
basic constructor
constructor from Function
-
OperatorOnFunction(const Function*, DiffOpType = _id, ValueType vt = _real, StrucType st = _scalar, dimPair = dimPair(1, 1))#
-
basic constructor
-
OperatorOnFunction(const OperatorOnFunction&)#
-
full copy constructor
-
inline ~OperatorOnFunction()#
-
destructor
-
string_t asString() const#
-
return as symbolic string
-
void clear()#
-
delete all members
delete members
-
void copy(const OperatorOnFunction&)#
-
full copy of members
-
inline DifferentialOperator &difOp() const#
-
return reference to differential operator
-
inline DifferentialOperator *&difOp_()#
-
return pointer to differential operator
-
inline DiffOpType difOpType() const#
-
return type of differential operator
-
inline bool elementRequired() const#
-
true if geom element involved
-
template<typename T>
T &eval(const Point&, T&, const Vector<real_t> *np = nullptr, const ExtensionData* = nullptr) const#
-
evaluate function operator at x
evaluate operator on function operator at x, f function value, n pointer to normal vector (null if not available)
-
template<typename T>
std::vector<T> &eval(const std::vector<Point>&, std::vector<T>&, const Vector<real_t> *np = nullptr, const ExtensionData* = nullptr) const#
-
evaluate function operator at (xi)
evaluate function operator at (xi): op [f(x1), f(x2), …, f(xm)] n pointer to normal vector n (null if not available)
-
void initStrucType()#
-
build struct_ and dimsRes_
set struct_ and dimRes_
-
inline bool normalRequired() const#
-
true if normal involved
-
OperatorOnFunction &operator=(const OperatorOnFunction&)#
-
full copy of members
assign operator (full copy)
-
void print(std::ostream&) const#
-
print on stream attributes
-
inline bool tangentRequired() const#
-
true if normal involved
-
inline bool voidFunction() const#
-
true if null function
Public Members
-
mutable bool conjugate_#
-
true if it has to be conjugated
-
bool in_ext#
-
if true interpreted as ext(difop(f)) else interpreted as difop(ext(f)); default is true
-
mutable bool transpose_#
-
true if it has to be transposed
Friends
-
friend bool operator!=(const OperatorOnFunction&, const OperatorOnFunction&)#
-
different operator on function
-
friend bool operator==(const OperatorOnFunction&, const OperatorOnFunction&)#
-
same operator on function
-
inline OperatorOnFunction()#