Flow123d  3.9.0-c09ffe475
Public Member Functions | Public Attributes | List of all members
ConvectionTransport::EqData Class Reference

#include <transport.h>

Collaboration diagram for ConvectionTransport::EqData:
Collaboration graph
[legend]

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< DOFHandlerMultiDimdh_
 
std::shared_ptr< Balancebalance_
 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< VectorMPIcorr_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< VectorMPItm_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...
 
TimeGovernortime_
 
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...
 

Detailed Description

Definition at line 119 of file transport.h.

Constructor & Destructor Documentation

◆ EqData()

ConvectionTransport::EqData::EqData ( )
inline

Definition at line 122 of file transport.h.

◆ ~EqData()

virtual ConvectionTransport::EqData::~EqData ( )
inlinevirtual

Definition at line 123 of file transport.h.

Member Function Documentation

◆ alloc_transport_structs_mpi()

void ConvectionTransport::EqData::alloc_transport_structs_mpi ( unsigned int  lsize)
inline

Definition at line 134 of file transport.h.

◆ n_substances()

unsigned int ConvectionTransport::EqData::n_substances ( )
inline

Returns number of transported substances.

Definition at line 126 of file transport.h.

Here is the caller graph for this function:

◆ set_time_governor()

void ConvectionTransport::EqData::set_time_governor ( TimeGovernor time)
inline

Definition at line 129 of file transport.h.

Member Data Documentation

◆ balance_

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.

◆ bcvcorr

Vec* ConvectionTransport::EqData::bcvcorr

Boundary condition correction vector.

Definition at line 168 of file transport.h.

◆ cfl_flow_

VectorMPI ConvectionTransport::EqData::cfl_flow_

Parallel vector for flow contribution to CFL condition.

Definition at line 165 of file transport.h.

◆ cfl_source_

VectorMPI ConvectionTransport::EqData::cfl_source_

Parallel vector for source term contribution to CFL condition.

Definition at line 164 of file transport.h.

◆ corr_vec

vector<VectorMPI> ConvectionTransport::EqData::corr_vec

Definition at line 163 of file transport.h.

◆ dh_

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.

◆ is_convection_matrix_scaled

bool ConvectionTransport::EqData::is_convection_matrix_scaled

Flag indicates the state of object.

Definition at line 177 of file transport.h.

◆ is_mass_diag_changed

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.

◆ mass_diag

Vec ConvectionTransport::EqData::mass_diag

Definition at line 158 of file transport.h.

◆ max_edg_sides

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.

◆ sources_changed_

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.

◆ subst_idx

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.

◆ substances_

SubstanceList ConvectionTransport::EqData::substances_

Transported substances.

Definition at line 153 of file transport.h.

◆ time_

TimeGovernor* ConvectionTransport::EqData::time_

Definition at line 170 of file transport.h.

◆ tm

Mat ConvectionTransport::EqData::tm

PETSc transport matrix.

Definition at line 166 of file transport.h.

◆ tm_diag

vector<VectorMPI> ConvectionTransport::EqData::tm_diag

additions to PETSC transport matrix on the diagonal - from sources (for each substance)

Definition at line 167 of file transport.h.

◆ transport_bc_time

double ConvectionTransport::EqData::transport_bc_time

Time of the last update of the boundary condition terms.

Definition at line 169 of file transport.h.

◆ transport_matrix_time

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.


The documentation for this class was generated from the following file: