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_read_mesh.h>
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... | |
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::AppReadMeshIC< dim >::AppReadMeshIC | ( | std::vector< std::string > | ) |
Constructor.
FuelCell::InitialSolution::AppReadMeshIC< dim >::~AppReadMeshIC | ( | ) |
Destructor.
|
inline |
Function to set the component names of the initial solution.
double FuelCell::InitialSolution::AppReadMeshIC< dim >::value | ( | const Point< dim > & | , |
const unsigned | int | ||
) | const |
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.
|
private |
List of solution variables.