Chi-Tech
lbts_02b_advance.cc
Go to the documentation of this file.
1
#include "
lbts_transient_solver.h
"
2
3
//###################################################################
4
/**Advances time values.*/
5
void
lbs::DiscOrdTransientSolver::Advance
()
6
{
7
time_
+=
dt_
;
8
phi_prev_local_
= phi_new_local_;
9
psi_prev_local_
= psi_new_local_;
10
if
(options_.use_precursors)
11
precursor_prev_local_
= precursor_new_local_;
12
}
lbs::DiscOrdTransientSolver::precursor_prev_local_
std::vector< double > precursor_prev_local_
Definition:
lbts_transient_solver.h:49
lbs::DiscOrdTransientSolver::Advance
void Advance() override
Definition:
lbts_02b_advance.cc:5
lbs::DiscOrdTransientSolver::time_
double time_
Definition:
lbts_transient_solver.h:44
lbs::DiscOrdTransientSolver::phi_prev_local_
std::vector< double > phi_prev_local_
Definition:
lbts_transient_solver.h:48
lbs::DiscOrdTransientSolver::dt_
double dt_
Definition:
lbts_transient_solver.h:43
lbs::DiscOrdTransientSolver::psi_prev_local_
std::vector< std::vector< double > > psi_prev_local_
Definition:
lbts_transient_solver.h:50
lbts_transient_solver.h
modules
LinearBoltzmannSolvers
D_DO_Transient
lbts_02b_advance.cc
Generated by
1.9.3