OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members
FuelCellShop::PostProcessing::MolarFractionDataOut< dim > Class Template Reference

Class used to output molar fractions based on the density of each species. More...

#include <data_out_mass_transport.h>

Inheritance diagram for FuelCellShop::PostProcessing::MolarFractionDataOut< dim >:
Inheritance graph
[legend]
Collaboration diagram for FuelCellShop::PostProcessing::MolarFractionDataOut< dim >:
Collaboration graph
[legend]

Constructors, destructor, and initalization

const FuelCell::SystemManagementsystem_management
 Pointer to system management. More...
 
FuelCellShop::Material::GasMixturefluid
 
 MolarFractionDataOut (const FuelCell::SystemManagement &sm, FuelCellShop::Material::GasMixture &gas_in)
 Constructor of our class. More...
 
virtual ~MolarFractionDataOut ()
 Destructor. More...
 
virtual std::vector< std::string > get_names () const
 Function that provides the names of the output variables. More...
 
virtual std::vector
< DataComponentInterpretation::DataComponentInterpretation > 
get_data_component_interpretation () const
 Function that states if the output functions are a scalar or a vector. More...
 
virtual UpdateFlags get_needed_update_flags () const
 Flags to be updated in each cell when computing the solution. More...
 
virtual void compute_derived_quantities_vector (const std::vector< Vector< double > > &solution, const std::vector< std::vector< Tensor< 1, dim > > > &, const std::vector< std::vector< Tensor< 2, dim > > > &, const std::vector< Point< dim > > &, const std::vector< Point< dim > > &, const types::material_id &mat_id, std::vector< Vector< double > > &computed_quantities) const
 

Detailed Description

template<int dim>
class FuelCellShop::PostProcessing::MolarFractionDataOut< dim >

Class used to output molar fractions based on the density of each species.

This class is necessary in mass transport applications.

Constructor & Destructor Documentation

Constructor of our class.

Destructor.

Member Function Documentation

template<int dim>
virtual void FuelCellShop::PostProcessing::MolarFractionDataOut< dim >::compute_derived_quantities_vector ( const std::vector< Vector< double > > &  solution,
const std::vector< std::vector< Tensor< 1, dim > > > &  ,
const std::vector< std::vector< Tensor< 2, dim > > > &  ,
const std::vector< Point< dim > > &  ,
const std::vector< Point< dim > > &  ,
const types::material_id &  mat_id,
std::vector< Vector< double > > &  computed_quantities 
) const
virtual
template<int dim>
virtual std::vector<DataComponentInterpretation::DataComponentInterpretation> FuelCellShop::PostProcessing::MolarFractionDataOut< dim >::get_data_component_interpretation ( ) const
virtual

Function that states if the output functions are a scalar or a vector.

template<int dim>
virtual std::vector<std::string> FuelCellShop::PostProcessing::MolarFractionDataOut< dim >::get_names ( ) const
virtual

Function that provides the names of the output variables.

In this case, current density, overpotential, effectiveness, and oxygen coverages (if applicable). The latter is set to one if the model is macro-homogeneous.

template<int dim>
virtual UpdateFlags FuelCellShop::PostProcessing::MolarFractionDataOut< dim >::get_needed_update_flags ( ) const
virtual

Flags to be updated in each cell when computing the solution.

Member Data Documentation

template<int dim>
const FuelCell::SystemManagement* FuelCellShop::PostProcessing::MolarFractionDataOut< dim >::system_management
private

Pointer to system management.


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