Class xlifepp::LcOperatorOnUnknown#

class LcOperatorOnUnknown : public std::vector<OpuValPair>#

Inheritence diagram for xlifepp::LcOperatorOnUnknown:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "3" [label="std::vector< T >" tooltip="std::vector< T >"] "2" [label="std::vector< OpuValPair >" tooltip="std::vector< OpuValPair >"] "1" [label="xlifepp::LcOperatorOnUnknown" tooltip="xlifepp::LcOperatorOnUnknown" fillcolor="#BFBFBF"] "2" -> "3" [dir=forward tooltip="template-instance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for xlifepp::LcOperatorOnUnknown:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "3" [label="std::vector< T >" tooltip="std::vector< T >"] "2" [label="std::vector< OpuValPair >" tooltip="std::vector< OpuValPair >"] "1" [label="xlifepp::LcOperatorOnUnknown" tooltip="xlifepp::LcOperatorOnUnknown" fillcolor="#BFBFBF"] "2" -> "3" [dir=forward tooltip="template-instance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

describes the linear combination of OperatorOnUnknown

Public Functions

inline LcOperatorOnUnknown()#

default constructor

LcOperatorOnUnknown(const LcOperatorOnUnknown&)#

copy constructor

LcOperatorOnUnknown(const OperatorOnUnknown&, const complex_t&)#

basic constructor

LcOperatorOnUnknown(const OperatorOnUnknown&, const real_t& = 1.)#

basic constructor

LcOperatorOnUnknown(const Unknown&, const complex_t&)#

basic constructor

LcOperatorOnUnknown(const Unknown&, const real_t& = 1.)#

basic constructor

~LcOperatorOnUnknown()#

destructor

void clear()#

deallocate OperatorOnUnknown pointers

complex_t coefficient() const#

return coefficient of first term if a single term combination

std::vector<complex_t> coefficients() const#

return vector of coefficients involved in combination

void copy(const LcOperatorOnUnknown &lc)#

full copy of OperatorOnUnknown pointers

std::set<DiffOpType> diffOperators() const#

return set of differential operator types involved in condition

GeomDomain *domain(number_t i = 1) const#

return ith domain (may be 0 if none)

std::vector<GeomDomain*> domains() const#

return list of GeomDomains’s attached to

std::set<GeomDomain*> domainSet() const#

return set of GeomDomains’s involved in condition (may be void)

void insert(const complex_t&, const OperatorOnUnknown&)#

insert a*op(u) on Din list

void insert(const complex_t&, const Unknown&)#

insert a*u on D in list

void insert(const OperatorOnUnknown&)#

insert op(u) on D in list

void insert(const real_t&, const OperatorOnUnknown&)#

insert a*op(u) on D in list

void insert(const real_t&, const Unknown&)#

insert a*u on D in list

void insert(const Unknown&)#

insert u on D in list

bool isSingleDomain() const#

true if all terms involve the same domain

bool isSingleUnknown() const#

true if all terms involve the same unknown

LcOperatorOnUnknown &operator*=(const complex_t&)#

lcop *= c

LcOperatorOnUnknown &operator*=(const real_t&)#

lcop *= r

LcOperatorOnUnknown &operator+=(const LcOperatorOnUnknown&)#

lcop += lcop

LcOperatorOnUnknown &operator+=(const OperatorOnUnknown&)#

lcop += opu

LcOperatorOnUnknown &operator+=(const Unknown&)#

lcop += u

LcOperatorOnUnknown &operator-=(const LcOperatorOnUnknown&)#

lcop -= lcop

LcOperatorOnUnknown &operator-=(const OperatorOnUnknown&)#

lcop -= opu

LcOperatorOnUnknown &operator-=(const Unknown&)#

lcop -= u

LcOperatorOnUnknown &operator/=(const complex_t&)#

lcop /= c

LcOperatorOnUnknown &operator/=(const real_t&)#

lcop /= r

EssentialCondition operator=(const complex_t&)#

construct equation lcop = c

EssentialCondition operator=(const Function&)#

construct equation lcop = f

LcOperatorOnUnknown &operator=(const LcOperatorOnUnknown&)#

assignment

EssentialCondition operator=(const real_t&)#

construct equation lcop = r

EssentialCondition operator=(const TermVector&)#

construct equation lcop = TermVector

LcOperatorOnUnknown &operator|(GeomDomain&)#

restrict LcOperatorOnUnknown (all operators) to domain dom using syntax |dom

inline void print(PrintStream &os, bool withdomain = true) const#

print utility

void print(std::ostream&, bool withdomain = true) const#

print utility

void setDomain(GeomDomain&)#

restrict LcOperatorOnUnknown (all operators) to domain dom

const Unknown *unknown(number_t i = 1) const#

return ith Unknown involved in LcOperator

std::set<const Unknown*> unknowns() const#

return set of Unknown’s involved in LcOperator

bool withDomains() const#

true if all terms have a non null domain pointer

Friends

friend std::ostream &operator<<(std::ostream&, const LcOperatorOnUnknown&)#

print operator