OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fem_extras.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 //
3 // FCST: Fuel Cell Simulation Toolbox
4 //
5 // Copyright (C) 2006-2013 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: fem_extras.h
11 // - Description: This namespace contains FEM related methods
12 // - Developers: Valentin N. Zingan, University of Alberta
13 //
14 // ----------------------------------------------------------------------------
15 
16 #ifndef _FSCT_FEM_EXTRAS_H_
17 #define _FSCT_FEM_EXTRAS_H_
18 
19 #ifndef dimension
20 #if deal_II_dimension == 1
21 #define _1D_
22 #elif deal_II_dimension == 2
23 #define _2D_
24 #elif deal_II_dimension == 3
25 #define _3D_
26 #endif
27 #endif
28 
29 #include <vector>
30 
31 #include <deal.II/base/point.h>
32 #include <deal.II/base/exceptions.h>
33 
34 using namespace dealii;
35 
45 namespace FemExtras
46 {
47 
55  template<int dim>
56  void get_tangential_vectors(std::vector< std::vector< Point<dim> > >& dst,
57  const std::vector< Point<dim> >& src);
58 
59 } // FemExtras
60 
61 #endif
void get_tangential_vectors(std::vector< std::vector< Point< dim > > > &dst, const std::vector< Point< dim > > &src)
This function computes the tangential vectors dst in the quadrature points of a dim - 1 dimensional f...