Chi-Tech
|
#include <mip_wgs_context2.h>
Public Member Functions | |
MIPWGSContext2 (DiffusionDFEMSolver &lbs_mip_ss_solver, LBSGroupset &groupset, const SetSourceFunction &set_source_function, int lhs_scope, int rhs_scope, bool log_info) | |
void | PreSetupCallback () override |
void | SetPreconditioner (SolverType &solver) override |
std::pair< int64_t, int64_t > | SystemSize () override |
void | ApplyInverseTransportOperator (int scope) override |
void | PostSolveCallback () override |
void | PreSetupCallback () |
void | SetPreconditioner (KSP &solver) |
std::pair< int64_t, int64_t > | SystemSize () |
void | ApplyInverseTransportOperator (int scope) |
void | PostSolveCallback () |
Public Member Functions inherited from lbs::WGSContext< MatType, VecType, SolverType > | |
WGSContext (LBSSolver &lbs_solver, LBSGroupset &groupset, const SetSourceFunction &set_source_function, int lhs_scope, int rhs_scope, bool log_info) | |
virtual void | PreSetupCallback () |
virtual void | SetPreconditioner (SolverType &solver) |
virtual void | PostSetupCallback () |
virtual void | PreSolveCallback () |
int | MatrixAction (MatType &matrix, VecType &action_vector, VecType &action) override |
virtual std::pair< int64_t, int64_t > | SystemSize ()=0 |
virtual void | ApplyInverseTransportOperator (int scope)=0 |
virtual void | PostSolveCallback () |
int | MatrixAction (Mat &matrix, Vec &action_vector, Vec &action) |
Public Member Functions inherited from chi_math::LinearSolverContext< MatType, VecType > | |
virtual int | MatrixAction (MatType &matrix, VecType &vector, VecType &action) |
virtual | ~LinearSolverContext ()=default |
Data Fields | |
DiffusionDFEMSolver & | lbs_mip_ss_solver_ |
Data Fields inherited from lbs::WGSContext< MatType, VecType, SolverType > | |
LBSSolver & | lbs_solver_ |
LBSGroupset & | groupset_ |
const SetSourceFunction & | set_source_function_ |
int | lhs_src_scope_ |
int | rhs_src_scope_ |
bool | log_info_ = true |
size_t | counter_applications_of_inv_op_ = 0 |
Data Fields inherited from chi_math::LinearSolverContext< MatType, VecType > | |
double | rhs_norm = 0.0 |
double | rhs_preconditioned_norm = 0.0 |
double | custom_residual_scale = 1.0 |
ResidualScaleType | residual_scale_type = ResidualScaleType::NONE |
Definition at line 15 of file mip_wgs_context2.h.
|
inline |
Definition at line 19 of file mip_wgs_context2.h.
|
virtual |
This operation applies the inverse of the transform operator in the form Ay = x where the the vector x's underlying implementing is always LBS's q_moments_local vextor.
Implements lbs::WGSContext< MatType, VecType, SolverType >.
Definition at line 78 of file mip_wgs_context2.cc.
|
overridevirtual |
This operation applies the inverse of the transform operator in the form Ay = x where the the vector x's underlying implementing is always LBS's q_moments_local vextor.
Implements lbs::WGSContext< MatType, VecType, SolverType >.
|
virtual |
Reimplemented from lbs::WGSContext< MatType, VecType, SolverType >.
Definition at line 103 of file mip_wgs_context2.cc.
|
overridevirtual |
Reimplemented from lbs::WGSContext< MatType, VecType, SolverType >.
|
virtual |
Reimplemented from lbs::WGSContext< MatType, VecType, SolverType >.
Definition at line 22 of file mip_wgs_context2.cc.
|
overridevirtual |
Reimplemented from lbs::WGSContext< MatType, VecType, SolverType >.
void lbs::MIPWGSContext2< Mat, Vec, KSP >::SetPreconditioner | ( | KSP & | solver | ) |
Definition at line 45 of file mip_wgs_context2.cc.
|
overridevirtual |
Reimplemented from lbs::WGSContext< MatType, VecType, SolverType >.
|
virtual |
Implements lbs::WGSContext< MatType, VecType, SolverType >.
Definition at line 64 of file mip_wgs_context2.cc.
|
overridevirtual |
Implements lbs::WGSContext< MatType, VecType, SolverType >.
DiffusionDFEMSolver& lbs::MIPWGSContext2< MatType, VecType, SolverType >::lbs_mip_ss_solver_ |
Definition at line 17 of file mip_wgs_context2.h.