OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
app_step3.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 //
3 // FCST: Fuel Cell Simulation Toolbox
4 //
5 // Copyright (C) 2014 by Energy Systems Design Laboratory, University of Alberta
6 //
7 // This software is distributed under the MIT License
8 // For more information, see the README file in /doc/LICENSE
9 //
10 // - Class: app_block_matrix_step3.cc
11 // - Description: Test for application framework. Solves deal.II step-3 tutorial
12 // - Developers: Marc Secanell, University of Alberta
13 // - $Id: app_step3.h 2605 2014-08-15 03:36:44Z secanell $
14 //
15 // ----------------------------------------------------------------------------
16 
17 //-- OpenFCST
19 
20 
21 using namespace FuelCell::ApplicationCore;
22 
23 namespace FuelCell
24 {
25  namespace Application
26  {
27 
40  template <int dim>
41  class AppStep3 :
42  public BlockMatrixApplication<dim>
43  {
44  public:
48  AppStep3 ();
49 
53  void initialize(ParameterHandler& param);
54 
59  virtual void cell_matrix(MatrixVector& cell_matrices,
60  const typename DoFApplication<dim>::CellInfo& cell);
61 
66  virtual void cell_residual(FEVector& cell_vector,
67  const typename DoFApplication<dim>::CellInfo& cell);
68 
72  virtual void dirichlet_bc(std::map<unsigned int, double>& boundary_values) const;
73 
77  virtual double evaluate (const FEVectors& src);
78  };
79  }
80 }
Application handling matrices and assembling linear systems of equations.
Definition: block_matrix_application.h:74
This class is created for the objects handed to the mesh loops.
Definition: mesh_loop_info_objects.h:544
std::vector< MatrixBlock< FullMatrix< double > > > MatrixVector
The matrix vector used in the mesh loops.
Definition: matrix_block.h:102
BlockVector< double > FEVector
The vector class used by applications.
Definition: application_data.h:46
The data type used in function calls of Application.
Definition: fe_vectors.h:59
This class is used to test the application framework by solving Step-3 of the deal.II finite element libraries.
Definition: app_step3.h:41