PRISMS-PF Manual v3.0-pre
Loading...
Searching...
No Matches
typeDefs.h
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// define FE system types
12#ifndef typeScalar
13using typeScalar = dealii::FEEvaluation<dim, degree, degree + 1, 1, double>;
14#endif
15#ifndef typeVector
16using typeVector = dealii::FEEvaluation<dim, degree, degree + 1, dim, double>;
17#endif
18// define data value types
19#ifndef scalarvalueType
20using scalarvalueType = dealii::VectorizedArray<double>;
21#endif
22#ifndef vectorvalueType
23using vectorvalueType = dealii::Tensor<1, dim, dealii::VectorizedArray<double>>;
24#endif
25#if problemDIM == 1
26# ifndef scalargradType
27using scalargradType = dealii::VectorizedArray<double>;
28# endif
29# ifndef vectorgradType
30using vectorgradType = dealii::VectorizedArray<double>;
31# endif
32# ifndef vectorhessType
33using vectorhessType = dealii::VectorizedArray<double>;
34# endif
35#else
36# ifndef scalargradType
37using scalargradType = dealii::Tensor<1, dim, dealii::VectorizedArray<double>>;
38# endif
39# ifndef scalarhessType
40using scalarhessType = dealii::Tensor<2, dim, dealii::VectorizedArray<double>>;
41# endif
42# ifndef vectorgradType
43using vectorgradType = dealii::Tensor<2, dim, dealii::VectorizedArray<double>>;
44# endif
45# ifndef vectorhessType
46using vectorhessType = dealii::Tensor<3, dim, dealii::VectorizedArray<double>>;
47# endif
48#endif
49
50// #endif /* INCLUDE_TYPEDEFS_H_ */