Loading [MathJax]/extensions/MathMenu.js
OGS
Process.cpp
Go to the documentation of this file.
1
11#include "Process.h"
12
13#include <range/v3/algorithm/any_of.hpp>
14#include <range/v3/algorithm/set_algorithm.hpp>
15#include <range/v3/view/drop.hpp>
16#include <range/v3/view/transform.hpp>
17
22#include "ProcessVariable.h"
23
24namespace
25{
26void setLocalAccessibleVectors(std::vector<GlobalVector*> const& x,
27 std::vector<GlobalVector*> const& x_prev)
28{
29 for (auto* const solution : x)
30 {
32 }
33 for (auto* const solution : x_prev)
34 {
36 }
37}
38} // namespace
39
40namespace ProcessLib
41{
42const std::string Process::constant_one_parameter_name = "constant_one";
43
45 std::string name_,
46 MeshLib::Mesh& mesh,
47 std::unique_ptr<ProcessLib::AbstractJacobianAssembler>&& jacobian_assembler,
48 std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const& parameters,
49 unsigned const integration_order,
50 std::vector<std::vector<std::reference_wrapper<ProcessVariable>>>&&
51 process_variables,
52 SecondaryVariableCollection&& secondary_variables,
53 const bool use_monolithic_scheme)
54 : name(std::move(name_)),
55 _mesh(mesh),
56 _secondary_variables(std::move(secondary_variables)),
57 cell_average_data_(mesh),
58 _jacobian_assembler(std::move(jacobian_assembler)),
59 _global_assembler(*_jacobian_assembler),
60 _use_monolithic_scheme(use_monolithic_scheme),
61 _integration_order(integration_order),
62 _process_variables(std::move(process_variables)),
63 _boundary_conditions(
64 [&](const std::size_t number_of_process_variables)
65 -> std::vector<BoundaryConditionCollection>
66 {
67 std::vector<BoundaryConditionCollection> pcs_BCs;
68 pcs_BCs.reserve(number_of_process_variables);
69 for (std::size_t i = 0; i < number_of_process_variables; i++)
70 {
71 pcs_BCs.emplace_back(BoundaryConditionCollection(parameters));
72 }
73 return pcs_BCs;
74 }(_process_variables.size())),
75 _source_term_collections(
76 [&](const std::size_t number_of_processes)
77 -> std::vector<SourceTermCollection>
78 {
79 std::vector<SourceTermCollection> pcs_sts;
80 pcs_sts.reserve(number_of_processes);
81 for (std::size_t i = 0; i < number_of_processes; i++)
82 {
83 pcs_sts.emplace_back(SourceTermCollection(parameters));
84 }
85 return pcs_sts;
86 }(_process_variables.size()))
87{
88}
89
91 const NumLib::LocalToGlobalIndexMap& dof_table, const int process_id,
92 std::map<int, std::shared_ptr<MaterialPropertyLib::Medium>> const& media)
93{
94 auto const& per_process_variables = _process_variables[process_id];
95 auto& per_process_BCs = _boundary_conditions[process_id];
96
97 per_process_BCs.addBCsForProcessVariables(per_process_variables, dof_table,
98 _integration_order, *this, media);
99
100 auto& per_process_sts = _source_term_collections[process_id];
101 per_process_sts.addSourceTermsForProcessVariables(
102 per_process_variables, dof_table, _integration_order);
103}
104
106 std::map<int, std::shared_ptr<MaterialPropertyLib::Medium>> const& media)
107{
108 // The number of processes is identical to the size of _process_variables,
109 // the vector contains variables for different processes. See the
110 // documentation of _process_variables.
111 const std::size_t number_of_processes = _process_variables.size();
112 for (std::size_t pcs_id = 0; pcs_id < number_of_processes; pcs_id++)
113 {
115 *_local_to_global_index_map, pcs_id, media);
116 }
117}
118
120 std::map<int, std::shared_ptr<MaterialPropertyLib::Medium>> const& media)
121{
122 DBUG("Initialize process.");
123
124 DBUG("Construct dof mappings.");
126
127 DBUG("Compute sparsity pattern");
129
130 DBUG("Initialize the extrapolator");
132
135
136 DBUG("Initialize boundary conditions.");
138}
139
141 std::vector<GlobalVector*>& process_solutions,
142 std::vector<GlobalVector*> const& process_solutions_prev,
143 double const t,
144 int const process_id)
145{
146 auto& x = *process_solutions[process_id];
147 auto& x_prev = *process_solutions_prev[process_id];
148
149 // getDOFTableOfProcess can be overloaded by the specific process.
150 auto const& dof_table_of_process = getDOFTable(process_id);
151
152 auto const& per_process_variables = _process_variables[process_id];
153 for (std::size_t variable_id = 0;
154 variable_id < per_process_variables.size();
155 variable_id++)
156 {
158
159 auto const& pv = per_process_variables[variable_id];
160 DBUG("Set the initial condition of variable {:s} of process {:d}.",
161 pv.get().getName().data(), process_id);
162
163 auto const& ic = pv.get().getInitialCondition();
164
165 auto const num_comp = pv.get().getNumberOfGlobalComponents();
166
167 for (int component_id = 0; component_id < num_comp; ++component_id)
168 {
169 auto const& mesh_subset =
170 dof_table_of_process.getMeshSubset(variable_id, component_id);
171 auto const mesh_id = mesh_subset.getMeshID();
172 for (auto const* node : mesh_subset.getNodes())
173 {
175 node->getID());
176
178 node->getID(), {}, *node};
179 auto const& ic_value = ic(t, pos);
180
181 auto global_index =
182 std::abs(dof_table_of_process.getGlobalIndex(l, variable_id,
183 component_id));
184#ifdef USE_PETSC
185 // The global indices of the ghost entries of the global
186 // matrix or the global vectors need to be set as negative
187 // values for equation assembly, however the global indices
188 // start from zero. Therefore, any ghost entry with zero
189 // index is assigned an negative value of the vector size
190 // or the matrix dimension. To assign the initial value for
191 // the ghost entries, the negative indices of the ghost
192 // entries are restored to zero.
193 if (global_index == x.size())
194 global_index = 0;
195#endif
196 x.set(global_index, ic_value[component_id]);
197 }
198 }
199 }
200
202 MathLib::LinAlg::copy(x, x_prev); // pushState
203
206
207 setInitialConditionsConcreteProcess(process_solutions, t, process_id);
208}
209
211 const int /*process_id*/) const
212{
213 auto const& l = *_local_to_global_index_map;
214 return {l.dofSizeWithoutGhosts(), l.dofSizeWithoutGhosts(),
215 &l.getGhostIndices(), &_sparsity_pattern};
216}
217
219 const int process_id)
220{
221 auto const& variables_per_process = getProcessVariables(process_id);
222 for (auto const& variable : variables_per_process)
223 {
224 variable.get().updateDeactivatedSubdomains(time);
225 }
226
228
229 auto active_elements_ids = ranges::views::transform(
230 [](auto const& variable)
231 { return variable.get().getActiveElementIDs(); });
232
233 // Early return if there's any process variable with all elements active.
234 if (ranges::any_of(variables_per_process | active_elements_ids,
235 [](auto const& vector) { return vector.empty(); }))
236 {
237 return;
238 }
239
240 // Some process variable has deactivated elements. Create union of active
241 // ids.
242
243 _ids_of_active_elements = // there is at least one process variable.
244 variables_per_process[0].get().getActiveElementIDs();
245
246 for (auto const& pv_active_element_ids :
247 variables_per_process | ranges::views::drop(1) | active_elements_ids)
248 {
249 std::vector<std::size_t> new_active_elements;
250 new_active_elements.reserve(_ids_of_active_elements.size() +
251 pv_active_element_ids.size());
252 ranges::set_union(_ids_of_active_elements, pv_active_element_ids,
253 std::back_inserter(new_active_elements));
254
255 _ids_of_active_elements = std::move(new_active_elements);
256 }
257}
258
259void Process::preAssemble(const double t, double const dt,
260 GlobalVector const& x)
261{
263}
264
265void Process::assemble(const double t, double const dt,
266 std::vector<GlobalVector*> const& x,
267 std::vector<GlobalVector*> const& x_prev,
268 int const process_id, GlobalMatrix& M, GlobalMatrix& K,
269 GlobalVector& b)
270{
271 assert(x.size() == x_prev.size());
272
273 setLocalAccessibleVectors(x, x_prev);
274
275 assembleConcreteProcess(t, dt, x, x_prev, process_id, M, K, b);
276
277 // the last argument is for the jacobian, nullptr is for a unused jacobian
278 _boundary_conditions[process_id].applyNaturalBC(t, x, process_id, &K, b,
279 nullptr);
280
281 // the last argument is for the jacobian, nullptr is for a unused jacobian
282 _source_term_collections[process_id].integrate(t, *x[process_id], b,
283 nullptr);
284}
285
286void Process::assembleWithJacobian(const double t, double const dt,
287 std::vector<GlobalVector*> const& x,
288 std::vector<GlobalVector*> const& x_prev,
289 int const process_id, GlobalVector& b,
290 GlobalMatrix& Jac)
291{
292 assert(x.size() == x_prev.size());
293
294 setLocalAccessibleVectors(x, x_prev);
295
296 assembleWithJacobianConcreteProcess(t, dt, x, x_prev, process_id, b, Jac);
297
298 // TODO: apply BCs to Jacobian.
299 _boundary_conditions[process_id].applyNaturalBC(t, x, process_id, nullptr,
300 b, &Jac);
301
302 // the last argument is for the jacobian, nullptr is for a unused jacobian
303 _source_term_collections[process_id].integrate(t, *x[process_id], b, &Jac);
304}
305
307{
309 {
311
312 return;
313 }
314
315 // For staggered scheme:
316 const int specified_process_id = 0;
318}
319
321{
322 // Create single component dof in every of the mesh nodes.
324 std::make_unique<MeshLib::MeshSubset>(_mesh, _mesh.getNodes());
325
326 // Vector of mesh subsets.
327 std::vector<MeshLib::MeshSubset> all_mesh_subsets;
328
329 // Collect the mesh subsets in a vector for the components of each
330 // variables.
331 for (ProcessVariable const& pv : _process_variables[0])
332 {
333 std::generate_n(std::back_inserter(all_mesh_subsets),
334 pv.getNumberOfGlobalComponents(),
335 [&]() { return *_mesh_subset_all_nodes; });
336 }
337
338 // Create a vector of the number of variable components
339 std::vector<int> vec_var_n_components;
340 transform(cbegin(_process_variables[0]), cend(_process_variables[0]),
341 back_inserter(vec_var_n_components),
342 [](ProcessVariable const& pv)
343 { return pv.getNumberOfGlobalComponents(); });
344
346 std::make_unique<NumLib::LocalToGlobalIndexMap>(
347 std::move(all_mesh_subsets), vec_var_n_components,
349
351}
352
354 const int specified_process_id)
355{
356 // Create single component dof in every of the mesh nodes.
358 std::make_unique<MeshLib::MeshSubset>(_mesh, _mesh.getNodes());
359
360 // Vector of mesh subsets.
361 std::vector<MeshLib::MeshSubset> all_mesh_subsets;
362
363 // Vector of the number of variable components
364 std::vector<int> vec_var_n_components;
365 // Collect the mesh subsets in a vector for each variables' components.
366 std::generate_n(std::back_inserter(all_mesh_subsets),
367 _process_variables[specified_process_id][0]
368 .get()
369 .getNumberOfGlobalComponents(),
370 [&]() { return *_mesh_subset_all_nodes; });
371
372 // Create a vector of the number of variable components.
373 vec_var_n_components.push_back(_process_variables[specified_process_id][0]
374 .get()
375 .getNumberOfGlobalComponents());
377 std::make_unique<NumLib::LocalToGlobalIndexMap>(
378 std::move(all_mesh_subsets), vec_var_n_components,
380
382}
383
384std::vector<NumLib::LocalToGlobalIndexMap const*> Process::getDOFTables(
385 int const number_of_processes) const
386{
387 std::vector<NumLib::LocalToGlobalIndexMap const*> dof_tables;
388 dof_tables.reserve(number_of_processes);
389 std::generate_n(std::back_inserter(dof_tables), number_of_processes,
390 [&]() { return &getDOFTable(dof_tables.size()); });
391 return dof_tables;
392}
393
394std::tuple<NumLib::LocalToGlobalIndexMap*, bool>
396{
397 if (_local_to_global_index_map->getNumberOfGlobalComponents() == 1)
398 {
399 // For single-variable-single-component processes reuse the existing DOF
400 // table.
401 const bool manage_storage = false;
402 return std::make_tuple(_local_to_global_index_map.get(),
403 manage_storage);
404 }
405
406 // Otherwise construct a new DOF table.
407 std::vector<MeshLib::MeshSubset> all_mesh_subsets_single_component;
408 all_mesh_subsets_single_component.emplace_back(*_mesh_subset_all_nodes);
409
410 const bool manage_storage = true;
411
412 return std::make_tuple(new NumLib::LocalToGlobalIndexMap(
413 std::move(all_mesh_subsets_single_component),
414 // by location order is needed for output
416 manage_storage);
417}
418
420{
421 NumLib::LocalToGlobalIndexMap* dof_table_single_component;
422 bool manage_storage;
423
424 std::tie(dof_table_single_component, manage_storage) =
426
427 std::unique_ptr<NumLib::Extrapolator> extrapolator(
429 *dof_table_single_component));
430
431 // TODO: Later on the DOF table can change during the simulation!
433 std::move(extrapolator), dof_table_single_component, manage_storage);
434}
435
441
442void Process::preTimestep(std::vector<GlobalVector*> const& x, const double t,
443 const double delta_t, const int process_id)
444{
445 for (auto* const solution : x)
447 preTimestepConcreteProcess(x, t, delta_t, process_id);
448
449 _boundary_conditions[process_id].preTimestep(t, x, process_id);
450}
451
452void Process::postTimestep(std::vector<GlobalVector*> const& x,
453 std::vector<GlobalVector*> const& x_prev,
454 const double t, const double delta_t,
455 int const process_id)
456{
457 setLocalAccessibleVectors(x, x_prev);
458
459 postTimestepConcreteProcess(x, x_prev, t, delta_t, process_id);
460
461 _boundary_conditions[process_id].postTimestep(t, x, process_id);
462}
463
464void Process::postNonLinearSolver(std::vector<GlobalVector*> const& x,
465 std::vector<GlobalVector*> const& x_prev,
466 const double t, double const dt,
467 int const process_id)
468{
469 setLocalAccessibleVectors(x, x_prev);
470
471 postNonLinearSolverConcreteProcess(x, x_prev, t, dt, process_id);
472}
473
475 double const dt,
476 std::vector<GlobalVector*> const& x,
477 GlobalVector const& x_prev,
478 int const process_id)
479{
480 for (auto const* solution : x)
483
484 computeSecondaryVariableConcrete(t, dt, x, x_prev, process_id);
485}
486
487void Process::preIteration(const unsigned iter, const GlobalVector& x)
488{
491}
492
498
499void Process::preOutput(const double t, double const dt,
500 std::vector<GlobalVector*> const& x,
501 std::vector<GlobalVector*> const& x_prev,
502 int const process_id)
503{
504 for (auto const* solution : x)
506
507 preOutputConcreteProcess(t, dt, x, x_prev, process_id);
508}
509
510std::vector<GlobalIndexType>
512{
513 std::vector<GlobalIndexType> indices;
514
515 for (std::size_t process_id = 0; process_id < _process_variables.size();
516 process_id++)
517 {
518 auto const& dof_table_of_process = getDOFTable(process_id);
519
520 auto const& per_process_variables = _process_variables[process_id];
521 for (std::size_t variable_id = 0;
522 variable_id < per_process_variables.size();
523 variable_id++)
524 {
525 auto const& pv = per_process_variables[variable_id];
526 DBUG("Set the initial condition of variable {:s} of process {:d}.",
527 pv.get().getName().data(), process_id);
528
529 if ((pv.get().compensateNonEquilibriumInitialResiduum()))
530 {
531 continue;
532 }
533
534 auto const num_comp = pv.get().getNumberOfGlobalComponents();
535
536 for (int component_id = 0; component_id < num_comp; ++component_id)
537 {
538 auto const& mesh_subset = dof_table_of_process.getMeshSubset(
539 variable_id, component_id);
540 for (auto const& l : MeshLib::views::meshLocations(
541 mesh_subset, MeshLib::MeshItemType::Node))
542 {
543 auto global_index =
544 std::abs(dof_table_of_process.getGlobalIndex(
545 l, variable_id, component_id));
546
547 indices.push_back(global_index);
548 }
549 }
550 }
551 }
552
553 return indices;
554}
555
556} // namespace ProcessLib
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
Definition Logging.h:30
Global vector based on Eigen vector.
Definition EigenVector.h:25
std::vector< Node * > const & getNodes() const
Get the nodes-vector for the mesh.
Definition Mesh.h:108
int getNumberOfGlobalComponents() const
Returns the number of components of the process variable.
virtual NumLib::IterationResult postIterationConcreteProcess(GlobalVector const &)
Definition Process.h:302
virtual void preTimestepConcreteProcess(std::vector< GlobalVector * > const &, const double, const double, const int)
Definition Process.h:264
std::vector< BoundaryConditionCollection > _boundary_conditions
Definition Process.h:405
std::vector< NumLib::LocalToGlobalIndexMap const * > getDOFTables(int const number_of_processes) const
Definition Process.cpp:384
virtual void preIterationConcreteProcess(const unsigned, GlobalVector const &)
Definition Process.h:288
void constructDofTableOfSpecifiedProcessStaggeredScheme(const int specified_process_id)
Definition Process.cpp:353
static PROCESSLIB_EXPORT const std::string constant_one_parameter_name
Definition Process.h:47
void preAssemble(const double t, double const dt, GlobalVector const &x) final
Definition Process.cpp:259
virtual void initializeBoundaryConditions(std::map< int, std::shared_ptr< MaterialPropertyLib::Medium > > const &media)
Definition Process.cpp:105
void initialize(std::map< int, std::shared_ptr< MaterialPropertyLib::Medium > > const &media)
Definition Process.cpp:119
void initializeProcessBoundaryConditionsAndSourceTerms(const NumLib::LocalToGlobalIndexMap &dof_table, const int process_id, std::map< int, std::shared_ptr< MaterialPropertyLib::Medium > > const &media)
Definition Process.cpp:90
virtual void initializeConcreteProcess(NumLib::LocalToGlobalIndexMap const &dof_table, MeshLib::Mesh const &mesh, unsigned const integration_order)=0
Process specific initialization called by initialize().
std::vector< std::size_t > _ids_of_active_elements
Union of active element ids per process variable.
Definition Process.h:416
void assemble(const double t, double const dt, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, int const process_id, GlobalMatrix &M, GlobalMatrix &K, GlobalVector &b) final
Definition Process.cpp:265
virtual void postTimestepConcreteProcess(std::vector< GlobalVector * > const &, std::vector< GlobalVector * > const &, const double, const double, int const)
Definition Process.h:272
Process(std::string name_, MeshLib::Mesh &mesh, std::unique_ptr< AbstractJacobianAssembler > &&jacobian_assembler, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const &parameters, unsigned const integration_order, std::vector< std::vector< std::reference_wrapper< ProcessVariable > > > &&process_variables, SecondaryVariableCollection &&secondary_variables, const bool use_monolithic_scheme=true)
Definition Process.cpp:44
virtual void computeSecondaryVariableConcrete(double const, double const, std::vector< GlobalVector * > const &, GlobalVector const &, int const)
Definition Process.h:293
std::unique_ptr< MeshLib::MeshSubset const > _mesh_subset_all_nodes
Definition Process.h:366
void preOutput(const double t, double const dt, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, int const process_id)
Definition Process.cpp:499
MeshLib::Mesh & _mesh
Definition Process.h:365
virtual void assembleConcreteProcess(const double t, double const dt, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, int const process_id, GlobalMatrix &M, GlobalMatrix &K, GlobalVector &b)=0
std::vector< std::vector< std::reference_wrapper< ProcessVariable > > > _process_variables
Definition Process.h:400
virtual NumLib::LocalToGlobalIndexMap const & getDOFTable(const int) const
Definition Process.h:147
virtual void setInitialConditionsConcreteProcess(std::vector< GlobalVector * > &, double const, int const)
Definition Process.h:241
NumLib::IterationResult postIteration(GlobalVector const &x) final
Definition Process.cpp:493
void postTimestep(std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, const double t, const double delta_t, int const process_id)
Postprocessing after a complete timestep.
Definition Process.cpp:452
virtual void assembleWithJacobianConcreteProcess(const double t, double const dt, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, int const process_id, GlobalVector &b, GlobalMatrix &Jac)=0
void preTimestep(std::vector< GlobalVector * > const &x, const double t, const double delta_t, const int process_id)
Preprocessing before starting assembly for new timestep.
Definition Process.cpp:442
void computeSecondaryVariable(double const t, double const dt, std::vector< GlobalVector * > const &x, GlobalVector const &x_prev, int const process_id)
compute secondary variables for the coupled equations or for output.
Definition Process.cpp:474
void initializeExtrapolator()
Definition Process.cpp:419
virtual void postNonLinearSolverConcreteProcess(std::vector< GlobalVector * > const &, std::vector< GlobalVector * > const &, const double, double const, int const)
Definition Process.h:281
virtual void constructDofTable()
Definition Process.cpp:306
void constructMonolithicProcessDofTable()
Definition Process.cpp:320
virtual void preAssembleConcreteProcess(const double, double const, GlobalVector const &)
Definition Process.h:248
void postNonLinearSolver(std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, const double t, double const dt, int const process_id)
Definition Process.cpp:464
std::vector< GlobalIndexType > getIndicesOfResiduumWithoutInitialCompensation() const override
Definition Process.cpp:511
unsigned const _integration_order
Definition Process.h:384
std::unique_ptr< NumLib::LocalToGlobalIndexMap > _local_to_global_index_map
Definition Process.h:368
std::vector< SourceTermCollection > _source_term_collections
Definition Process.h:411
void updateDeactivatedSubdomains(double const time, const int process_id)
Definition Process.cpp:218
void computeSparsityPattern()
Definition Process.cpp:436
MathLib::MatrixSpecifications getMatrixSpecifications(const int process_id) const override
Definition Process.cpp:210
void setInitialConditions(std::vector< GlobalVector * > &process_solutions, std::vector< GlobalVector * > const &process_solutions_prev, double const t, int const process_id)
Definition Process.cpp:140
void assembleWithJacobian(const double t, double const dt, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, int const process_id, GlobalVector &b, GlobalMatrix &Jac) final
Definition Process.cpp:286
virtual void preOutputConcreteProcess(const double, double const, std::vector< GlobalVector * > const &, std::vector< GlobalVector * > const &, int const)
Definition Process.h:308
std::vector< std::vector< std::reference_wrapper< ProcessVariable > > > const & getProcessVariables() const
Definition Process.h:156
ExtrapolatorData _extrapolator_data
Definition Process.h:413
GlobalSparsityPattern _sparsity_pattern
Definition Process.h:392
void preIteration(const unsigned iter, GlobalVector const &x) final
Definition Process.cpp:487
const bool _use_monolithic_scheme
Definition Process.h:379
virtual std::tuple< NumLib::LocalToGlobalIndexMap *, bool > getDOFTableForExtrapolatorData() const
Definition Process.cpp:395
Handles configuration of several secondary variables from the project file.
IterationResult
Status flags telling the NonlinearSolver if an iteration succeeded.
void finalizeAssembly(PETScMatrix &A)
Definition LinAlg.cpp:198
void copy(PETScVector const &x, PETScVector &y)
Definition LinAlg.cpp:37
void setLocalAccessibleVector(PETScVector const &x)
Definition LinAlg.cpp:27
auto meshLocations(Mesh const &mesh, MeshItemType const item_type)
Definition Mesh.h:238
@ BY_LOCATION
Ordering data by spatial location.
GlobalSparsityPattern computeSparsityPattern(LocalToGlobalIndexMap const &dof_table, MeshLib::Mesh const &mesh)
Computes a sparsity pattern for the given inputs.
void setLocalAccessibleVectors(std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev)
Definition Process.cpp:26