OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
app_step8.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_step8.cc
11 // - Description: Test for application framework. Solves deal.II step-8 tutorial
12 // - Developers: Marc Secanell, University of Alberta
13 // - $Id: app_step8.h 2605 2014-08-15 03:36:44Z secanell $
14 //
15 // ----------------------------------------------------------------------------
16 
17 //-- OpenFCST
19 
20 using namespace FuelCell::ApplicationCore;
21 
22 namespace FuelCell
23 {
24  namespace Application
25  {
26 
39  template <int dim>
40  class AppStep8 :
41  public BlockMatrixApplication<dim>
42  {
43  public:
47  AppStep8 ();
48 
52  void initialize(ParameterHandler& param);
53 
58  virtual void cell_matrix(MatrixVector& cell_matrices,
59  const typename DoFApplication<dim>::CellInfo& cell);
60 
65  virtual void cell_residual(FEVector& cell_vector,
66  const typename DoFApplication<dim>::CellInfo& cell);
67 
71  virtual void dirichlet_bc(std::map<unsigned int, double>& boundary_values) const;
72 
76  virtual double estimate(const FEVector& sol);
77 
81  virtual double evaluate (const FEVectors& src);
82  };
83  }
84 }
Application handling matrices and assembling linear systems of equations.
Definition: block_matrix_application.h:74
This class is used to test the application framework by solving Step-3 of the deal.II finite element libraries.
Definition: app_step8.h:40
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