OGS 6.2.1-76-gbb689931b
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< std::reference_wrapper< GlobalVector const >> const &coupled_xs_, const double dt_, const int process_id_)
 

Public Attributes

std::vector< std::reference_wrapper< GlobalVector const > > 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...
 
const double dt
 Time step size. More...
 
const int process_id
 

Constructor & Destructor Documentation

◆ CoupledSolutionsForStaggeredScheme()

ProcessLib::CoupledSolutionsForStaggeredScheme::CoupledSolutionsForStaggeredScheme ( std::vector< std::reference_wrapper< GlobalVector const >> const &  coupled_xs_,
const double  dt_,
const int  process_id_ 
)

Definition at line 20 of file CoupledSolutionsForStaggeredScheme.cpp.

References coupled_xs.

23  : coupled_xs(coupled_xs_), dt(dt_), process_id(process_id_)
24 {
25  for (auto const& coupled_x : coupled_xs)
26  {
27  MathLib::LinAlg::setLocalAccessibleVector(coupled_x.get());
28  }
29 }
std::vector< std::reference_wrapper< GlobalVector const > > const & coupled_xs
References to the current solutions of the coupled processes.

Member Data Documentation

◆ coupled_xs

◆ coupled_xs_t0

◆ dt

const double ProcessLib::CoupledSolutionsForStaggeredScheme::dt

◆ process_id

const int ProcessLib::CoupledSolutionsForStaggeredScheme::process_id

Definition at line 44 of file CoupledSolutionsForStaggeredScheme.h.

Referenced by ProcessLib::VectorMatrixAssembler::assemble(), ProcessLib::Process::assemble(), ProcessLib::TES::TESProcess::assembleConcreteProcess(), ProcessLib::ThermoMechanics::ThermoMechanicsProcess< DisplacementDim >::assembleConcreteProcess(), ProcessLib::RichardsMechanics::RichardsMechanicsProcess< DisplacementDim >::assembleConcreteProcess(), ProcessLib::PhaseField::PhaseFieldProcess< DisplacementDim >::assembleConcreteProcess(), ProcessLib::HT::HTProcess::assembleConcreteProcess(), ProcessLib::ThermoMechanicalPhaseField::ThermoMechanicalPhaseFieldProcess< DisplacementDim >::assembleConcreteProcess(), ProcessLib::RichardsComponentTransport::RichardsComponentTransportProcess::assembleConcreteProcess(), ProcessLib::VectorMatrixAssembler::assembleWithJacobian(), ProcessLib::Process::assembleWithJacobian(), ProcessLib::TES::TESProcess::assembleWithJacobianConcreteProcess(), ProcessLib::LIE::HydroMechanics::HydroMechanicsProcess< GlobalDim >::assembleWithJacobianConcreteProcess(), ProcessLib::ThermoMechanics::ThermoMechanicsProcess< DisplacementDim >::assembleWithJacobianConcreteProcess(), ProcessLib::HydroMechanics::HydroMechanicsProcess< DisplacementDim >::assembleWithJacobianConcreteProcess(), ProcessLib::RichardsMechanics::RichardsMechanicsProcess< DisplacementDim >::assembleWithJacobianConcreteProcess(), ProcessLib::ThermoHydroMechanics::ThermoHydroMechanicsProcess< DisplacementDim >::assembleWithJacobianConcreteProcess(), ProcessLib::PhaseField::PhaseFieldProcess< DisplacementDim >::assembleWithJacobianConcreteProcess(), ProcessLib::HT::HTProcess::assembleWithJacobianConcreteProcess(), ProcessLib::ThermoMechanicalPhaseField::ThermoMechanicalPhaseFieldProcess< DisplacementDim >::assembleWithJacobianConcreteProcess(), ProcessLib::RichardsComponentTransport::RichardsComponentTransportProcess::assembleWithJacobianConcreteProcess(), ProcessLib::HT::HTProcess::setCoupledTermForTheStaggeredSchemeToLocalAssemblers(), and ProcessLib::ComponentTransport::ComponentTransportProcess::setCoupledTermForTheStaggeredSchemeToLocalAssemblers().


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