OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
This class is used when solving the problem using Newton's method to provide an initial solution. More...
#include <app_pemfc.h>
Public Member Functions | |
AppPemfcIC (FuelCell::OperatingConditions *OC, boost::shared_ptr< FuelCellShop::Geometry::GridBase< dim > > grid) | |
Constructor. More... | |
~AppPemfcIC () | |
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... | |
Private Attributes | |
FuelCell::OperatingConditions * | OC |
Operating conditions class object. More... | |
boost::shared_ptr < FuelCellShop::Geometry::GridBase < dim > > | grid |
Geometry class object. More... | |
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.
FuelCell::InitialSolution::AppPemfcIC< dim >::AppPemfcIC | ( | FuelCell::OperatingConditions * | OC, |
boost::shared_ptr< FuelCellShop::Geometry::GridBase< dim > > | grid | ||
) |
Constructor.
FuelCell::InitialSolution::AppPemfcIC< dim >::~AppPemfcIC | ( | ) |
Destructor.
void FuelCell::InitialSolution::AppPemfcIC< 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.
|
private |
Geometry class object.
|
private |
Operating conditions class object.