![]() |
waves
Basic FE playground
|
Class used to compute the matrix associated to the integration of load on surface \(\boldsymbol{N}\). More...
#include <ElementVectors.h>
Public Member Functions | |
ElementVectors (Teuchos::RCP< katoptron::Domain< scalar >> domain, size_t numPrimalDPN, size_t pool_size) | |
ElementVectors constructor. More... | |
void | compute (int e, int i_thread) |
Compute the \(\boldsymbol{N}\) matrix. Arguments: More... | |
Kokkos::View< scalar **, Kokkos::LayoutRight, Kokkos::DefaultExecutionSpace > | getN (size_t i_thread) const |
Return the \(\boldsymbol{N}\). More... | |
Public Attributes | |
Kokkos::View< scalar ***, Kokkos::LayoutRight, Kokkos::DefaultExecutionSpace > | N |
Teuchos::RCP< katoptron::Domain< scalar > > | domain |
size_t | numPrimalDPN |
Additional Inherited Members | |
![]() | |
tbox::CacheHex8 & | trilinosHex8GetCache () |
Return the tbox cache of the hexahedron elements. More... | |
tbox::CacheTetra4 & | trilinosTetra4GetCache () |
Return the tbox cache of the tetrahedron elements. More... | |
tbox::CacheTri3 & | trilinosTri3GetCache () |
Return the tbox cache of the triangular elements. More... | |
tbox::CacheQuad4 & | trilinosQuad4GetCache () |
Return the tbox cache of the quadrangular elements. More... | |
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 \(\boldsymbol{J}\) of an element. More... | |
Class used to compute the matrix associated to the integration of load on surface \(\boldsymbol{N}\).
ElementVectors< scalar, element_type, element_size >::ElementVectors | ( | Teuchos::RCP< katoptron::Domain< scalar >> | _domain, |
size_t | _numPrimalDPN, | ||
size_t | pool_size | ||
) |
ElementVectors constructor.
Arguments:
The number of used threads is specify to allocate distinct memory for each thread to ensure that the threads do not use the same memory addresses.
void ElementVectors< scalar, element_type, element_size >::compute | ( | int | e, |
int | i_thread | ||
) |
Compute the \(\boldsymbol{N}\) matrix. Arguments:
Kokkos::View< scalar **, Kokkos::LayoutRight, Kokkos::DefaultExecutionSpace > ElementVectors< scalar, element_type, element_size >::getN | ( | size_t | i_thread | ) | const |
Return the \(\boldsymbol{N}\).
Argument:
Teuchos::RCP<katoptron::Domain<scalar> > ElementVectors< scalar, element_type, element_size >::domain |
Kokkos::View<scalar ***, Kokkos::LayoutRight, Kokkos::DefaultExecutionSpace> ElementVectors< scalar, element_type, element_size >::N |
size_t ElementVectors< scalar, element_type, element_size >::numPrimalDPN |