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 dimen_t diffOrder() const#

order of differential operator

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 dimPair dims() const#

return the dimension of returned values

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)

inline const Function *funp() const#

return the Kernel pointer

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 void setX(const Point &P) const#

set X point (usefull for Kernel)

inline void setY(const Point &P) const#

set Y point (usefull for Kernel)

inline StrucType &strucType()#

return the operator returned structure

inline StrucType strucType() const#

return the operator returned structure

inline bool tangentRequired() const#

true if normal involved

inline ValueType &valueType()#

return the operator returned type

inline ValueType valueType() const#

return the operator returned type

inline bool voidFunction() const#

true if null function

Public Members

mutable bool conjugate_#

true if it has to be conjugated

Extension *ext_p#

extension operator to apply to

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