OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
FuelCell::InitialSolution::AppReadMeshIC< dim > Class Template Reference

This class is used when solving the problem using Newton's method to provide an initial solution. More...

#include <app_read_mesh.h>

Inheritance diagram for FuelCell::InitialSolution::AppReadMeshIC< dim >:
Inheritance graph
[legend]
Collaboration diagram for FuelCell::InitialSolution::AppReadMeshIC< dim >:
Collaboration graph
[legend]

Public Member Functions

 AppReadMeshIC (std::vector< std::string >)
 Constructor. More...
 
 ~AppReadMeshIC ()
 Destructor. More...
 
void vector_value (const Point< dim > &p, Vector< double > &v) const
 This is the member function that computes the value of the initial solution for a given point. More...
 
double value (const Point< dim > &, const unsigned int) const
 
void set_solution_names (std::vector< std::string > names)
 Function to set the component names of the initial solution. More...
 

Private Attributes

std::vector< std::string > component_names
 List of solution variables. More...
 

Detailed Description

template<int dim>
class FuelCell::InitialSolution::AppReadMeshIC< dim >

This class is used when solving the problem using Newton's method to provide an initial solution.

This function is called in VectorTools::interpolate(..,..,InitialSolution<dim> marc,...) It provides a solution that satisfies Dirichlet boundaries and has a gradient.

Constructor & Destructor Documentation

template<int dim>
FuelCell::InitialSolution::AppReadMeshIC< dim >::AppReadMeshIC ( std::vector< std::string >  )

Constructor.

Destructor.

Member Function Documentation

template<int dim>
void FuelCell::InitialSolution::AppReadMeshIC< dim >::set_solution_names ( std::vector< std::string >  names)
inline

Function to set the component names of the initial solution.

template<int dim>
double FuelCell::InitialSolution::AppReadMeshIC< dim >::value ( const Point< dim > &  ,
const unsigned  int 
) const
template<int dim>
void FuelCell::InitialSolution::AppReadMeshIC< dim >::vector_value ( const Point< dim > &  p,
Vector< double > &  v 
) const

This is the member function that computes the value of the initial solution for a given point.

Member Data Documentation

template<int dim>
std::vector<std::string> FuelCell::InitialSolution::AppReadMeshIC< dim >::component_names
private

List of solution variables.


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