GRINS-0.8.0
List of all members | Public Member Functions | Private Member Functions | Private Attributes
GRINS::SpeciesMassFractionsVariable Class Reference

#include <multicomponent_variable.h>

Inheritance diagram for GRINS::SpeciesMassFractionsVariable:
Inheritance graph
[legend]
Collaboration diagram for GRINS::SpeciesMassFractionsVariable:
Collaboration graph
[legend]

Public Member Functions

 SpeciesMassFractionsVariable (const std::vector< std::string > &var_names, const std::vector< VariableIndex > &var_indices, const std::string &prefix, const std::string &material, const std::set< libMesh::subdomain_id_type > &subdomain_ids)
 
virtual ~SpeciesMassFractionsVariable ()
 
unsigned int n_species () const
 
VariableIndex species (unsigned int species) const
 
const std::string & material () const
 
const std::string & prefix () const
 
- Public Member Functions inherited from GRINS::MulticomponentVariable
 MulticomponentVariable (const std::vector< std::string > &var_names, const std::vector< VariableIndex > &var_indices, const std::set< libMesh::subdomain_id_type > &subdomain_ids)
 
virtual ~MulticomponentVariable ()
 
unsigned int dim () const
 Number of components. More...
 
VariableIndex idx_from_component (unsigned int component) const
 
- Public Member Functions inherited from GRINS::FEVariablesBase
 FEVariablesBase (const std::vector< std::string > &var_names, const std::vector< VariableIndex > &var_indices, const std::set< libMesh::subdomain_id_type > &subdomain_ids)
 
virtual ~FEVariablesBase ()
 
void set_is_constraint_var (bool is_constraint_var)
 Set whether or not this is a "constraint" variable. More...
 
bool is_constraint_var () const
 
void set_neumann_bc_is_positive (bool is_positive)
 Reset whetever Neumann bc is postive or not. More...
 
libMesh::Real neumann_bc_sign () const
 
const std::vector< std::string > & active_var_names () const
 Return the var names that are active from this class. More...
 
const std::vector< VariableIndex > & var_indices () const
 
const std::set< libMesh::subdomain_id_type > & subdomain_ids () const
 

Private Member Functions

 SpeciesMassFractionsVariable ()
 

Private Attributes

std::string _prefix
 
std::string _material
 

Additional Inherited Members

- Protected Attributes inherited from GRINS::FEVariablesBase
std::vector< VariableIndex_vars
 
std::vector< std::string > _var_names
 
bool _is_constraint_var
 Tracks whether this is a constraint variable. More...
 
libMesh::Real _neumann_bc_sign
 Track the sign of the Neumann BC term. Defaults to 1.0. More...
 
std::set< libMesh::subdomain_id_type > _subdomain_ids
 

Detailed Description

Definition at line 60 of file multicomponent_variable.h.

Constructor & Destructor Documentation

GRINS::SpeciesMassFractionsVariable::SpeciesMassFractionsVariable ( const std::vector< std::string > &  var_names,
const std::vector< VariableIndex > &  var_indices,
const std::string &  prefix,
const std::string &  material,
const std::set< libMesh::subdomain_id_type > &  subdomain_ids 
)
inline

Definition at line 64 of file multicomponent_variable.h.

70  _prefix(prefix),
72  {}
const std::set< libMesh::subdomain_id_type > & subdomain_ids() const
const std::string & material() const
const std::vector< VariableIndex > & var_indices() const
virtual GRINS::SpeciesMassFractionsVariable::~SpeciesMassFractionsVariable ( )
inlinevirtual

Definition at line 74 of file multicomponent_variable.h.

74 {}
GRINS::SpeciesMassFractionsVariable::SpeciesMassFractionsVariable ( )
private

Member Function Documentation

const std::string& GRINS::SpeciesMassFractionsVariable::material ( ) const
inline
unsigned int GRINS::SpeciesMassFractionsVariable::n_species ( ) const
inline

Definition at line 76 of file multicomponent_variable.h.

References GRINS::MulticomponentVariable::dim().

77  { return this->dim(); }
unsigned int dim() const
Number of components.
const std::string& GRINS::SpeciesMassFractionsVariable::prefix ( ) const
inline
VariableIndex GRINS::SpeciesMassFractionsVariable::species ( unsigned int  species) const
inline

Member Data Documentation

std::string GRINS::SpeciesMassFractionsVariable::_material
private

Definition at line 94 of file multicomponent_variable.h.

Referenced by material().

std::string GRINS::SpeciesMassFractionsVariable::_prefix
private

Definition at line 92 of file multicomponent_variable.h.

Referenced by prefix().


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

Generated on Tue Dec 19 2017 12:47:32 for GRINS-0.8.0 by  doxygen 1.8.9.1