///////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////// More...
#include <pseudo_elastic_preconditioner.h>
Public Types | |
typedef Preconditioner *(* | SubsidiaryPreconditionerFctPt) () |
typedef for a function that allows other preconditioners to be emplyed to solve the subsidiary linear systems. The function should return a pointer to the requred subsidiary preconditioner generated using new. This preconditioner is responsible for the destruction of the subsidiary preconditioners. More... | |
Public Member Functions | |
PseudoElasticPreconditionerSubsidiaryPreconditionerOld () | |
Constructor. More... | |
~PseudoElasticPreconditionerSubsidiaryPreconditionerOld () | |
Destructor. More... | |
PseudoElasticPreconditionerSubsidiaryPreconditionerOld (const PseudoElasticPreconditionerSubsidiaryPreconditionerOld &)=delete | |
Broken copy constructor. More... | |
void | setup () |
Broken assignment operator. More... | |
void | preconditioner_solve (const DoubleVector &r, DoubleVector &z) |
Apply the preconditioner. More... | |
double & | scaling () |
Specify the scaling. Default is 1.0 Must be called before setup(...). More... | |
void | set_subsidiary_preconditioner_function (SubsidiaryPreconditionerFctPt sub_prec_fn) |
access function to set the subsidiary preconditioner function. More... | |
Private Member Functions | |
void | clean_up_memory () |
clears the memory More... | |
Private Attributes | |
double | Scaling |
Preconditioner * | Preconditioner_pt |
the preconditioner pt More... | |
SubsidiaryPreconditionerFctPt | Subsidiary_preconditioner_function_pt |
the SubisidaryPreconditionerFctPt More... | |
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
Subsidiary helper preconditioner for the PseudoElasticPreconditioner. Required to construct the augmented elastic system prior to preconditioning. NOTE:
Definition at line 495 of file pseudo_elastic_preconditioner.h.
typedef Preconditioner*(* oomph::PseudoElasticPreconditionerSubsidiaryPreconditionerOld::SubsidiaryPreconditionerFctPt) () |
typedef for a function that allows other preconditioners to be emplyed to solve the subsidiary linear systems. The function should return a pointer to the requred subsidiary preconditioner generated using new. This preconditioner is responsible for the destruction of the subsidiary preconditioners.
Definition at line 504 of file pseudo_elastic_preconditioner.h.
|
inline |
Constructor.
Definition at line 507 of file pseudo_elastic_preconditioner.h.
References Preconditioner_pt, Scaling, and Subsidiary_preconditioner_function_pt.
|
inline |
Destructor.
Definition at line 515 of file pseudo_elastic_preconditioner.h.
References clean_up_memory().
|
delete |
Broken copy constructor.
|
inlineprivate |
clears the memory
Definition at line 550 of file pseudo_elastic_preconditioner.h.
References Preconditioner_pt.
Referenced by setup(), and ~PseudoElasticPreconditionerSubsidiaryPreconditionerOld().
void oomph::PseudoElasticPreconditionerSubsidiaryPreconditionerOld::preconditioner_solve | ( | const DoubleVector & | r, |
DoubleVector & | z | ||
) |
Apply the preconditioner.
Definition at line 896 of file pseudo_elastic_preconditioner.cc.
References Preconditioner_pt.
|
inline |
Specify the scaling. Default is 1.0 Must be called before setup(...).
Definition at line 536 of file pseudo_elastic_preconditioner.h.
References Scaling.
Referenced by oomph::PseudoElasticPreconditionerOld::setup().
|
inline |
access function to set the subsidiary preconditioner function.
Definition at line 542 of file pseudo_elastic_preconditioner.h.
References Subsidiary_preconditioner_function_pt.
Referenced by oomph::PseudoElasticPreconditionerOld::setup().
void oomph::PseudoElasticPreconditionerSubsidiaryPreconditionerOld::setup | ( | ) |
Broken assignment operator.
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////
Setup the preconditioner
Definition at line 813 of file pseudo_elastic_preconditioner.cc.
References clean_up_memory(), Preconditioner_pt, Scaling, and Subsidiary_preconditioner_function_pt.
|
private |
the preconditioner pt
Definition at line 560 of file pseudo_elastic_preconditioner.h.
Referenced by clean_up_memory(), preconditioner_solve(), PseudoElasticPreconditionerSubsidiaryPreconditionerOld(), and setup().
|
private |
Definition at line 557 of file pseudo_elastic_preconditioner.h.
Referenced by PseudoElasticPreconditionerSubsidiaryPreconditionerOld(), scaling(), and setup().
|
private |
the SubisidaryPreconditionerFctPt
Definition at line 563 of file pseudo_elastic_preconditioner.h.
Referenced by PseudoElasticPreconditionerSubsidiaryPreconditionerOld(), set_subsidiary_preconditioner_function(), and setup().