Class xlifepp::UserBilinearForm#
-
class UserBilinearForm : public xlifepp::BasicBilinearForm#
-
describes a bilinear form given by a user function computing elementary matrix
bffun_ : user function void uf(BFComputationData&)
or bffunP_ : user function void uf(BFComputationData&, Parameters&), params_ being the user data the elementary computation has to be done through compute(BFComputationData&)
Public Functions
-
virtual string_t asString() const#
-
interpret as string for print purpose
-
virtual BasicBilinearForm *clone() const#
-
clone of the linear form
-
inline void compute(BFComputationData &bfd) const#
-
compute elementary bf using the user function
-
inline const IntegrationMethod *intgMethod() const#
-
pointer to integration method object
-
inline virtual void print(PrintStream &os) const#
-
print utility
-
virtual void print(std::ostream&) const#
-
print utility
-
inline void requireInvJacobian(bool tf = true)#
-
return the value type of the linear form
-
inline virtual LinearFormType type() const#
-
return the type of the linear form
Public Members
-
BFFunction bffun_ = nullptr#
-
pointer to extern function to compute elementary bf (0 by default)
-
BFFunctionP bffunP_ = nullptr#
-
pointer to extern function with user data to compute elementary bf (0 by default)
-
const IntegrationMethod *intgMethod_p#
-
pointer to an integration method
-
mutable Parameters params_#
-
user data passed to bffunP_
-
bool requireInvJacobian_#
-
flag indicates that computation of inverse of jacobian is required (default=false)
-
bool requireNormal_#
-
flag indicates that computation of normal vector is required (default=false)
-
bool serialOnly_ = false#
-
if true, elementary computations can not be done in parallel (e.g.
Python function)