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 // - Id: $Id: fem_extras.h 1354 2013-08-17 00:01:22Z secanell $
14 //
15 // ----------------------------------------------------------------------------
16 
17 #ifndef _FSCT_FEM_EXTRAS_H_
18 #define _FSCT_FEM_EXTRAS_H_
19 
20 #ifndef dimension
21 #if deal_II_dimension == 1
22 #define _1D_
23 #elif deal_II_dimension == 2
24 #define _2D_
25 #elif deal_II_dimension == 3
26 #define _3D_
27 #endif
28 #endif
29 
30 #include <vector>
31 #include <base/point.h>
32 #include <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