Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website
Loading...
Searching...
No Matches
State Struct Reference

Conservative state of every cell: the flow block and the partial densities of a mixture's species. A single gas has no species columns, and every loop over them is empty. More...

#include <state.h>

Public Member Functions

 State ()=default
 
 State (StateView flow_, SpeciesView species_)
 
 State (const std::string &label, uint32_t n_cells, uint32_t n_species)
 
uint32_t n_species () const
 

Public Attributes

StateView flow
 
SpeciesView species
 

Detailed Description

Conservative state of every cell: the flow block and the partial densities of a mixture's species. A single gas has no species columns, and every loop over them is empty.

Constructor & Destructor Documentation

◆ State() [1/3]

State::State ( )
default

◆ State() [2/3]

State::State ( StateView  flow_,
SpeciesView  species_ 
)
inline

◆ State() [3/3]

State::State ( const std::string &  label,
uint32_t  n_cells,
uint32_t  n_species 
)
inline

Member Function Documentation

◆ n_species()

uint32_t State::n_species ( ) const
inline

Member Data Documentation

◆ flow

StateView State::flow

◆ species

SpeciesView State::species

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