waves
Basic FE playground
ElementComputation.h
Go to the documentation of this file.
1 #ifndef KATOPTRON_ELEMENTCOMPUTATION_H
2 #define KATOPTRON_ELEMENTCOMPUTATION_H
3 
4 #include "Stokhos_Sacado_Kokkos_MP_Vector.hpp"
5 
6 #include <Kokkos_Core.hpp>
7 #include "Kokkos_ViewFactory.hpp"
8 #include "wCacheHex8.h"
9 #include "wCacheQuad4.h"
10 #include "wCacheTetra4.h"
11 #include "wCacheTri3.h"
12 #include "tMatrix.h"
13 #include "Sacado.hpp"
14 #include "Domain.h"
15 
16 #include "MaterialsList.h"
17 #include "Material.h"
18 
19 #include "Map.h"
20 
21 #include "wElement.h"
22 
23 #include "wLazy.h"
24 #include "tMatrix.h"
25 
29 template <typename scalar, int element_type>
31 {
33 
34 protected:
35  tbox::CacheHex8 &trilinosHex8GetCache();
36  tbox::CacheTetra4 &trilinosTetra4GetCache();
37  tbox::CacheTri3 &trilinosTri3GetCache();
38  tbox::CacheQuad4 &trilinosQuad4GetCache();
39 
40  double buildJ(int k, tMatrix<double, 3, 3> &J,
42  const katoptron::ElementsList &elementsList,
43  const katoptron::NodesList &nodesList);
44 };
45 
46 #endif //KATOPTRON_ELEMENTCOMPUTATION_H
katoptron::Map::local_ordinal_type
int local_ordinal_type
Definition: Map.h:27
ElementComputation::local_ordinal_type
katoptron::Map::local_ordinal_type local_ordinal_type
Definition: ElementComputation.h:32
Domain.h
ElementComputation::buildJ
double buildJ(int k, tMatrix< double, 3, 3 > &J, local_ordinal_type e, const katoptron::ElementsList &elementsList, const katoptron::NodesList &nodesList)
Compute the Jacobian matrix of an element.
Definition: ElementComputation.hpp:6
Material.h
katoptron::NodesList
Class used to store the node information.
Definition: NodesList.h:19
tMatrix.h
ElementComputation::trilinosHex8GetCache
tbox::CacheHex8 & trilinosHex8GetCache()
Return the tbox cache of the hexahedron elements.
Definition: ElementComputation.hpp:108
katoptron::ElementsList
Class used to store the element information including:
Definition: ElementsList.h:25
tMatrix
Definition: tMatrix.h:10
ElementComputation::trilinosQuad4GetCache
tbox::CacheQuad4 & trilinosQuad4GetCache()
Return the tbox cache of the quadrangular elements.
Definition: ElementComputation.hpp:138
MaterialsList.h
ElementComputation::trilinosTri3GetCache
tbox::CacheTri3 & trilinosTri3GetCache()
Return the tbox cache of the triangular elements.
Definition: ElementComputation.hpp:128
Map.h
ElementComputation
Base class for the element computations.
Definition: ElementComputation.h:30
ElementComputation::trilinosTetra4GetCache
tbox::CacheTetra4 & trilinosTetra4GetCache()
Return the tbox cache of the tetrahedron elements.
Definition: ElementComputation.hpp:118