PRISMS-PF  v2.1
typeDefs.h
Go to the documentation of this file.
1 /*
2  * typeDefs.h
3  *
4  * Created on: Feb 24, 2017
5  * Author: stephendewitt
6  */
7 
8 //#ifndef INCLUDE_TYPEDEFS_H_
9 //#define INCLUDE_TYPEDEFS_H_
10 
11 //#include <deal.II/base/quadrature.h>
12 //#include <deal.II/base/timer.h>
13 //#include <deal.II/lac/vector.h>
14 //#include <deal.II/lac/constraint_matrix.h>
15 //#include <deal.II/fe/fe_system.h>
16 //#include <deal.II/fe/fe_q.h>
17 //#include <deal.II/fe/fe_values.h>
18 //#include <deal.II/grid/tria.h>
19 //#include <deal.II/grid/tria_accessor.h>
20 //#include <deal.II/grid/tria_iterator.h>
21 //#include <deal.II/grid/grid_tools.h>
22 //#include <deal.II/dofs/dof_tools.h>
23 //#include <deal.II/dofs/dof_handler.h>
24 // #include <deal.II/numerics/vector_tools.h>
25 // #include <deal.II/lac/parallel_vector.h>
26 // #include <deal.II/matrix_free/matrix_free.h>
27 // #include <deal.II/matrix_free/fe_evaluation.h>
28 // #include <deal.II/base/config.h>
29 // #include <deal.II/base/exceptions.h>
30 // #include <deal.II/distributed/tria.h>
31 //#include <deal.II/distributed/solution_transfer.h>
32 //#include <deal.II/grid/manifold_lib.h>
33 
34 //define data types
35 #ifndef scalarType
36 typedef dealii::VectorizedArray<double> scalarType;
37 #endif
38 #ifndef vectorType
39 typedef dealii::parallel::distributed::Vector<double> vectorType;
40 #endif
41 //define FE system types
42 #ifndef typeScalar
43 typedef dealii::FEEvaluation<dim,degree,degree+1,1,double> typeScalar;
44 #endif
45 #ifndef typeVector
46 typedef dealii::FEEvaluation<dim,degree,degree+1,dim,double> typeVector;
47 #endif
48 //define data value types
49 #ifndef scalarvalueType
50 typedef dealii::VectorizedArray<double> scalarvalueType;
51 #endif
52 #ifndef vectorvalueType
53 typedef dealii::Tensor<1, dim, dealii::VectorizedArray<double> > vectorvalueType;
54 #endif
55 #if problemDIM==1
56 #ifndef scalargradType
57 typedef dealii::VectorizedArray<double> scalargradType;
58 #endif
59 #ifndef vectorgradType
60 typedef dealii::VectorizedArray<double> vectorgradType;
61 #endif
62 #ifndef vectorhessType
63 typedef dealii::VectorizedArray<double> vectorhessType;
64 #endif
65 #else
66 #ifndef scalargradType
67 typedef dealii::Tensor<1, dim, dealii::VectorizedArray<double> > scalargradType;
68 #endif
69 #ifndef scalarhessType
70 typedef dealii::Tensor<2,dim,dealii::VectorizedArray<double> > scalarhessType;
71 #endif
72 #ifndef vectorgradType
73 typedef dealii::Tensor<2, dim, dealii::VectorizedArray<double> > vectorgradType;
74 #endif
75 #ifndef vectorhessType
76 typedef dealii::Tensor<3, dim, dealii::VectorizedArray<double> > vectorhessType;
77 #endif
78 #endif
79 
80 //#endif /* INCLUDE_TYPEDEFS_H_ */
dealii::VectorizedArray< double > scalarType
Definition: typeDefs.h:36
dealii::Tensor< 2, dim, dealii::VectorizedArray< double > > scalarhessType
Definition: typeDefs.h:70
dealii::FEEvaluation< dim, degree, degree+1, 1, double > typeScalar
Definition: typeDefs.h:43
dealii::Tensor< 1, dim, dealii::VectorizedArray< double > > vectorvalueType
Definition: typeDefs.h:53
dealii::Tensor< 2, dim, dealii::VectorizedArray< double > > vectorgradType
Definition: typeDefs.h:73
dealii::VectorizedArray< double > scalarvalueType
Definition: typeDefs.h:50
dealii::Tensor< 3, dim, dealii::VectorizedArray< double > > vectorhessType
Definition: typeDefs.h:76
dealii::parallel::distributed::Vector< double > vectorType
Definition: typeDefs.h:39
dealii::Tensor< 1, dim, dealii::VectorizedArray< double > > scalargradType
Definition: typeDefs.h:67
dealii::FEEvaluation< dim, degree, degree+1, dim, double > typeVector
Definition: typeDefs.h:46