Flow123d
master-1fea4ce
|
#include <transport.h>
Public Member Functions | |
EqData () | |
virtual | ~EqData () |
unsigned int | n_substances () |
Returns number of transported substances. More... | |
void | set_time_governor (TimeGovernor *time) |
void | alloc_transport_structs_mpi (unsigned int lsize) |
Public Attributes | |
std::shared_ptr< DOFHandlerMultiDim > | dh_ |
std::shared_ptr< Balance > | balance_ |
object for calculation and writing the mass balance to file, shared with EquationBase. More... | |
bool | is_mass_diag_changed |
Flag indicates that porosity or cross_section changed during last time. More... | |
SubstanceList | substances_ |
Transported substances. More... | |
vector< unsigned int > | subst_idx |
List of indices used to call balance methods for a set of quantities. More... | |
Vec | mass_diag |
bool | sources_changed_ |
Flag indicates that sources part of equation was changed during last time. More... | |
vector< VectorMPI > | corr_vec |
VectorMPI | cfl_source_ |
Parallel vector for source term contribution to CFL condition. More... | |
VectorMPI | cfl_flow_ |
Parallel vector for flow contribution to CFL condition. More... | |
Mat | tm |
PETSc transport matrix. More... | |
vector< VectorMPI > | tm_diag |
additions to PETSC transport matrix on the diagonal - from sources (for each substance) More... | |
Vec * | bcvcorr |
Boundary condition correction vector. More... | |
double | transport_bc_time |
Time of the last update of the boundary condition terms. More... | |
TimeGovernor * | time_ |
double | transport_matrix_time |
bool | is_convection_matrix_scaled |
Flag indicates the state of object. More... | |
unsigned int | max_edg_sides |
Maximal number of edge sides (evaluate from dim 1,2,3) More... | |
Definition at line 119 of file transport.h.
|
inline |
Definition at line 122 of file transport.h.
|
inlinevirtual |
Definition at line 123 of file transport.h.
|
inline |
Definition at line 134 of file transport.h.
|
inline |
Returns number of transported substances.
Definition at line 126 of file transport.h.
|
inline |
Definition at line 129 of file transport.h.
std::shared_ptr<Balance> ConvectionTransport::EqData::balance_ |
object for calculation and writing the mass balance to file, shared with EquationBase.
Definition at line 147 of file transport.h.
Vec* ConvectionTransport::EqData::bcvcorr |
Boundary condition correction vector.
Definition at line 168 of file transport.h.
VectorMPI ConvectionTransport::EqData::cfl_flow_ |
Parallel vector for flow contribution to CFL condition.
Definition at line 165 of file transport.h.
VectorMPI ConvectionTransport::EqData::cfl_source_ |
Parallel vector for source term contribution to CFL condition.
Definition at line 164 of file transport.h.
Definition at line 163 of file transport.h.
std::shared_ptr<DOFHandlerMultiDim> ConvectionTransport::EqData::dh_ |
Temporary solution how to pass velocity field form the flow model. TODO: introduce FieldDiscrete -containing true DOFHandler and data vector and pass such object together with other data. Possibly make more general set_data method, allowing setting data given by name. needs support from EqDataBase.
Definition at line 144 of file transport.h.
bool ConvectionTransport::EqData::is_convection_matrix_scaled |
Flag indicates the state of object.
Definition at line 177 of file transport.h.
bool ConvectionTransport::EqData::is_mass_diag_changed |
Flag indicates that porosity or cross_section changed during last time.
Definition at line 150 of file transport.h.
Vec ConvectionTransport::EqData::mass_diag |
Definition at line 158 of file transport.h.
unsigned int ConvectionTransport::EqData::max_edg_sides |
Maximal number of edge sides (evaluate from dim 1,2,3)
Definition at line 180 of file transport.h.
bool ConvectionTransport::EqData::sources_changed_ |
Flag indicates that sources part of equation was changed during last time.
Definition at line 161 of file transport.h.
vector<unsigned int> ConvectionTransport::EqData::subst_idx |
List of indices used to call balance methods for a set of quantities.
Definition at line 156 of file transport.h.
SubstanceList ConvectionTransport::EqData::substances_ |
Transported substances.
Definition at line 153 of file transport.h.
TimeGovernor* ConvectionTransport::EqData::time_ |
Definition at line 170 of file transport.h.
Mat ConvectionTransport::EqData::tm |
PETSc transport matrix.
Definition at line 166 of file transport.h.
additions to PETSC transport matrix on the diagonal - from sources (for each substance)
Definition at line 167 of file transport.h.
double ConvectionTransport::EqData::transport_bc_time |
Time of the last update of the boundary condition terms.
Definition at line 169 of file transport.h.
double ConvectionTransport::EqData::transport_matrix_time |
Time when the transport matrix was created. TODO: when we have our own classes for LA objects, we can use lazy dependence to check necessity for matrix update
Definition at line 175 of file transport.h.