12 PCShellGetContext(pc,&context);
21 auto& phi_new_local = gs_context_ptr->lbs_solver_.PhiNewLocal();
23 PhiSTLOption::PHI_NEW);
28 std::vector<double> delta_phi_local;
41 std::vector<double> delta_phi_local;
54 PhiSTLOption::PHI_NEW);
63 Vec phi_input,
Vec pc_output)
72 PhiSTLOption::PHI_NEW);
77 std::vector<double> delta_phi_local;
90 std::vector<double> delta_phi_local;
103 PhiSTLOption::PHI_NEW);
std::shared_ptr< lbs::acceleration::DiffusionMIPSolver > wgdsa_solver_
std::shared_ptr< lbs::acceleration::DiffusionMIPSolver > tgdsa_solver_
std::vector< double > & PhiNewLocal()
void DisAssembleWGDSADeltaPhiVector(const LBSGroupset &groupset, const std::vector< double > &delta_phi_local, std::vector< double > &ref_phi_new)
void AssembleTGDSADeltaPhiVector(const LBSGroupset &groupset, const std::vector< double > &phi_in, std::vector< double > &delta_phi_local)
void DisAssembleTGDSADeltaPhiVector(const LBSGroupset &groupset, const std::vector< double > &delta_phi_local, std::vector< double > &ref_phi_new)
virtual void SetGSPETScVecFromPrimarySTLvector(LBSGroupset &groupset, Vec x, PhiSTLOption which_phi)
void AssembleWGDSADeltaPhiVector(const LBSGroupset &groupset, const std::vector< double > &phi_in, std::vector< double > &delta_phi_local)
virtual void SetPrimarySTLvectorFromGSPETScVec(LBSGroupset &groupset, Vec x_src, PhiSTLOption which_phi)
int WGDSA_TGDSA_PreConditionerMult(PC pc, Vec phi_input, Vec pc_output)
int WGDSA_TGDSA_PreConditionerMult2(lbs::WGSContext< Mat, Vec, KSP > &gs_context_ptr, Vec phi_input, Vec pc_output)