diff --git a/PCG_8h_source.html b/PCG_8h_source.html
index 378a20d97..1691ea051 100644
--- a/PCG_8h_source.html
+++ b/PCG_8h_source.html
@@ -296,90 +296,94 @@
224 constexpr unsigned Dim = lhs_type::dim;
- 226 typename lhs_type::Mesh_t mesh = lhs.get_mesh();
- 227 typename lhs_type::Layout_t layout = lhs.getLayout();
-
-
- 230 const int maxIterations = params.
get<
int>(
"max_iterations");
-
-
-
-
-
-
-
-
-
- 240 bc_type lhsBCs = lhs.getFieldBC();
-
+
+ 227 throw IpplException(
"PCG::operator()",
"Preconditioner has not been set for PCG solver");
+
+
+ 230 typename lhs_type::Mesh_t mesh = lhs.get_mesh();
+ 231 typename lhs_type::Layout_t layout = lhs.getLayout();
+
+
+ 234 const int maxIterations = params.
get<
int>(
"max_iterations");
+
+
+
+
+
+
+
- 243 bool allFacesPeriodic =
true;
- 244 for (
unsigned int i = 0; i < 2 *
Dim; ++i) {
- 245 FieldBC bcType = lhsBCs[i]->getBCType();
-
-
- 248 bc[i] = std::make_shared<PeriodicFace<lhs_type>>(i);
-
-
-
- 252 bc[i] = std::make_shared<ZeroFace<lhs_type>>(i);
- 253 allFacesPeriodic =
false;
-
-
- 256 "Only periodic or constant BCs for LHS supported.");
-
-
-
-
- 261 r = rhs - this->
op_m(lhs);
-
-
+
+ 244 bc_type lhsBCs = lhs.getFieldBC();
+
+
+ 247 bool allFacesPeriodic =
true;
+ 248 for (
unsigned int i = 0; i < 2 *
Dim; ++i) {
+ 249 FieldBC bcType = lhsBCs[i]->getBCType();
+
+
+ 252 bc[i] = std::make_shared<PeriodicFace<lhs_type>>(i);
+
+
+
+ 256 bc[i] = std::make_shared<ZeroFace<lhs_type>>(i);
+ 257 allFacesPeriodic =
false;
+
+
+ 260 "Only periodic or constant BCs for LHS supported.");
+
+
+
-
-
-
- 268 const T tolerance = params.
get<T>(
"tolerance") * delta1;
-
- 270 while (this->iterations_m<maxIterations&& this->
residueNorm> tolerance) {
-
-
- 273 lhs = lhs + alpha * d;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 288 T beta = delta1 / delta0;
-
-
-
-
-
+ 265 r = rhs - this->
op_m(lhs);
+
+
+
+
+
+
+ 272 const T tolerance = params.
get<T>(
"tolerance") * delta1;
+
+ 274 while (this->iterations_m<maxIterations&& this->
residueNorm> tolerance) {
+
+
+ 277 lhs = lhs + alpha * d;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 292 T beta = delta1 / delta0;
+
- 295 if (allFacesPeriodic) {
- 296 T avg = lhs.getVolumeAverage();
-
-
-
-
-
-
-
+
+
+
+
+ 299 if (allFacesPeriodic) {
+ 300 T avg = lhs.getVolumeAverage();
+
+
+
-
-
-
+
+
+
-
+
+
+
+
+
constexpr unsigned Dim
Definition: BumponTailInstability.cpp:22
@@ -405,7 +409,7 @@
std::function< UpperLowerRet(lhs_type)> UpperLowerF
Definition: PCG.h:157
void setPreconditioner(OperatorF &&op, LowerF &&lower, UpperF &&upper, UpperLowerF &&upper_and_lower, InverseDiagF &&inverse_diagonal, double alpha, double beta, std::string preconditioner_type="", int level=5, int degree=31, int richardson_iterations=1, int inner=5, int outer=1) override
Definition: PCG.h:169
-std::unique_ptr< preconditioner< FieldLHS > > preconditioner_m
Definition: PCG.h:302
+std::unique_ptr< preconditioner< FieldLHS > > preconditioner_m
Definition: PCG.h:306
void operator()(lhs_type &lhs, rhs_type &rhs, const ParameterList ¶ms) override
Definition: PCG.h:223
PCG()
Definition: PCG.h:160
FieldRHS rhs_type
Definition: SolverAlgorithm.h:19