OGS
ProcessLib::CoupledSolutionsForStaggeredScheme Struct Reference

Detailed Description

A struct to keep the references of the current solutions of the equations of the coupled processes.

During staggered coupling iteration, an instance of this struct is created and passed through interfaces to global and local assemblers for each process.

Definition at line 30 of file CoupledSolutionsForStaggeredScheme.h.

#include <CoupledSolutionsForStaggeredScheme.h>

Public Member Functions

 CoupledSolutionsForStaggeredScheme (std::vector< GlobalVector * > const &coupled_xs_)
 

Public Attributes

std::vector< GlobalVector * > const & coupled_xs
 References to the current solutions of the coupled processes. More...
 
std::vector< GlobalVector * > coupled_xs_t0
 Pointers to the vector of the solutions of the previous time step. More...
 

Constructor & Destructor Documentation

◆ CoupledSolutionsForStaggeredScheme()

ProcessLib::CoupledSolutionsForStaggeredScheme::CoupledSolutionsForStaggeredScheme ( std::vector< GlobalVector * > const &  coupled_xs_)
explicit

Definition at line 22 of file CoupledSolutionsForStaggeredScheme.cpp.

24  : coupled_xs(coupled_xs_)
25 {
26  for (auto const* coupled_x : coupled_xs)
27  {
29  }
30 }
void setLocalAccessibleVector(PETScVector const &x)
Definition: LinAlg.cpp:27
std::vector< GlobalVector * > const & coupled_xs
References to the current solutions of the coupled processes.

References coupled_xs, and MathLib::LinAlg::setLocalAccessibleVector().

Member Data Documentation

◆ coupled_xs

std::vector<GlobalVector*> const& ProcessLib::CoupledSolutionsForStaggeredScheme::coupled_xs

◆ coupled_xs_t0

std::vector<GlobalVector*> ProcessLib::CoupledSolutionsForStaggeredScheme::coupled_xs_t0

Pointers to the vector of the solutions of the previous time step.

Definition at line 39 of file CoupledSolutionsForStaggeredScheme.h.


The documentation for this struct was generated from the following files: