54 Info <<
"wrong dimension of online parameters" << endl;
84 if (counter == nextwrite)
93 Trec.append((T_rec).clone());
95 nextwrite += printevery;
Header file of the reducedLaplacian class.
Class to implement a full order laplacian parametrized problem.
List< Eigen::MatrixXd > A_matrices
A matrices.
volScalarModes Tmodes
List of POD modes.
Eigen::MatrixXd source
Source vector.
label NTmodes
Number of modes reduced problem.
void reconstruct(fileName folder="./ITHACAOutput/online_rec", int printevery=1)
Function to recover the solution given the online solution.
PtrList< volScalarField > Trec
Reduced reconstructed Solution.
laplacianProblem * problem
Problem object.
reducedLaplacian()
Construct Null.
int count_online_solve
Counter for online sol.
Eigen::MatrixXd online_solution
Online solution.
virtual void solveOnline()
Virtual Method to perform and online Solve.
void exportSolution(GeometricField< Type, PatchField, GeoMesh > &s, fileName subfolder, fileName folder, word fieldName)
Export a field to file in a certain folder and subfolder.
void createSymLink(word folder)
Creates symbolic links to 0, system and constant.