COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
MatrixTypes.hpp
Go to the documentation of this file.
1 // Copyright (C) 2010-2013 von Karman Institute for Fluid Dynamics, Belgium
2 //
3 // This software is distributed under the terms of the
4 // GNU Lesser General Public License version 3 (LGPLv3).
5 // See doc/lgpl.txt and doc/gpl.txt for the license text.
6 
7 #ifndef cf3_physics_MatrixTypes_hpp
8 #define cf3_physics_MatrixTypes_hpp
9 
11 
12 #include "math/MatrixTypes.hpp"
13 
14 namespace cf3 {
15 namespace physics {
16 
17  template < Uint NDIM, Uint NEQS=0, Uint NVAR=0, Uint NGRAD=0 >
18  struct MatrixTypes
19  {
20  typedef Eigen::Matrix<Real,NDIM,1> ColVector_NDIM;
21  typedef Eigen::Matrix<Real,1,NEQS> RowVector_NEQS;
22  typedef Eigen::Matrix<Real,1,NVAR> RowVector_NVAR;
23  typedef Eigen::Matrix<Real,1,NGRAD> RowVector_NGRAD;
24  typedef Eigen::Matrix<Real,NDIM,NDIM> Matrix_NDIMxNDIM;
25  typedef Eigen::Matrix<Real,NDIM,NEQS> Matrix_NDIMxNEQS;
26  typedef Eigen::Matrix<Real,NEQS,NEQS> Matrix_NEQSxNEQS;
27  typedef Eigen::Matrix<Real,NDIM,NVAR> Matrix_NDIMxNVAR;
28  typedef Eigen::Matrix<Real,NDIM,NGRAD> Matrix_NDIMxNGRAD;
29  };
30 
32 
33 } // physics
34 } // cf3
35 
37 
38 #endif // cf3_physics_MatrixTypes_hpp
Eigen::Matrix< Real, NDIM, NDIM > Matrix_NDIMxNDIM
Definition: MatrixTypes.hpp:24
Eigen::Matrix< Real, NDIM, NVAR > Matrix_NDIMxNVAR
Definition: MatrixTypes.hpp:27
Eigen::Matrix< Real, NDIM, NEQS > Matrix_NDIMxNEQS
Definition: MatrixTypes.hpp:25
Eigen::Matrix< Real, 1, NGRAD > RowVector_NGRAD
Definition: MatrixTypes.hpp:23
Eigen::Matrix< Real, NDIM, 1 > ColVector_NDIM
Definition: MatrixTypes.hpp:20
Top-level namespace for coolfluid.
Definition: Action.cpp:18
Eigen::Matrix< Real, 1, NEQS > RowVector_NEQS
Definition: MatrixTypes.hpp:21
Eigen::Matrix< Real, NDIM, NGRAD > Matrix_NDIMxNGRAD
Definition: MatrixTypes.hpp:28
Eigen::Matrix< Real, NEQS, NEQS > Matrix_NEQSxNEQS
Definition: MatrixTypes.hpp:26
Eigen::Matrix< Real, 1, NVAR > RowVector_NVAR
Definition: MatrixTypes.hpp:22
Send comments to:
COOLFluiD Web Admin