Sacado Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized > Class Template Reference

#include <fenl_functors.hpp>

Inheritance diagram for Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >:

Public Types

typedef ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementbase_type
 
typedef base_type::scalar_type scalar_type
 
typedef base_type::execution_space execution_space
 
typedef Sacado::Fad::SFad< scalar_type, FunctionCountfad_scalar_type
 
typedef ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementbase_type
 
typedef base_type::scalar_type scalar_type
 
typedef base_type::execution_space execution_space
 
typedef base_type::fad_scalar_type fad_scalar_type
 
typedef Kokkos::View< scalar_type[FunctionCount], Kokkos::LayoutRight, execution_space, Kokkos::MemoryUnmanaged > scalar_elem_vec_type
 
typedef base_type::elem_vec_type fad_elem_vec_type
 

Public Member Functions

 ElementComputation (const ElementComputation &rhs)
 
 ElementComputation (const typename base_type::mesh_type &arg_mesh, const typename base_type::vector_type &arg_solution, const typename base_type::elem_graph_type &arg_elem_graph, const typename base_type::sparse_matrix_type &arg_jacobian, const typename base_type::vector_type &arg_residual)
 
void apply () const
 
KOKKOS_INLINE_FUNCTION void gatherSolution (const unsigned ielem, scalar_type val[], unsigned node_index[], double x[], double y[], double z[], fad_scalar_type res[]) const
 
KOKKOS_INLINE_FUNCTION void computeElementResidual (const scalar_type dof_values[], const double x[], const double y[], const double z[], fad_scalar_type elem_res[]) const
 
KOKKOS_INLINE_FUNCTION void operator() (const unsigned ielem) const
 
 ElementComputation (const ElementComputation &rhs)
 
 ElementComputation (const typename base_type::mesh_type &arg_mesh, const typename base_type::vector_type &arg_solution, const typename base_type::elem_graph_type &arg_elem_graph, const typename base_type::sparse_matrix_type &arg_jacobian, const typename base_type::vector_type &arg_residual)
 
void apply () const
 
KOKKOS_INLINE_FUNCTION void gatherSolution (const unsigned ielem, const scalar_elem_vec_type &val, unsigned node_index[], double x[], double y[], double z[], const fad_elem_vec_type &res) const
 
KOKKOS_INLINE_FUNCTION void computeElementResidual (const scalar_elem_vec_type dof_values, const double x[], const double y[], const double z[], const fad_elem_vec_type &elem_res) const
 
KOKKOS_INLINE_FUNCTION void operator() (const unsigned ielem) const
 

Static Public Attributes

static const unsigned FunctionCount = base_type::FunctionCount
 
static const unsigned IntegrationCount = base_type::IntegrationCount
 
static const unsigned ElemNodeCount = base_type::ElemNodeCount
 

Detailed Description

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
class Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >

Definition at line 960 of file fenl_assembly/fenl_functors.hpp.

Member Typedef Documentation

◆ base_type [1/2]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
typedef ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace , Order , CoordinateMap > , CrsMatrix< ScalarType , ExecutionSpace > , FadElement > Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::base_type

Definition at line 971 of file fenl_assembly/fenl_functors.hpp.

◆ scalar_type [1/2]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
typedef base_type::scalar_type Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::scalar_type

Definition at line 973 of file fenl_assembly/fenl_functors.hpp.

◆ execution_space [1/2]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
typedef base_type::execution_space Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::execution_space

Definition at line 974 of file fenl_assembly/fenl_functors.hpp.

◆ fad_scalar_type [1/2]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
typedef Sacado::Fad::SFad<scalar_type,FunctionCount> Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::fad_scalar_type

Definition at line 980 of file fenl_assembly/fenl_functors.hpp.

◆ base_type [2/2]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
typedef ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace , Order , CoordinateMap > , CrsMatrix< ScalarType , ExecutionSpace > , FadElement > Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::base_type

Definition at line 979 of file fenl_assembly_view/fenl_functors.hpp.

◆ scalar_type [2/2]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
typedef base_type::scalar_type Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::scalar_type

Definition at line 981 of file fenl_assembly_view/fenl_functors.hpp.

◆ execution_space [2/2]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
typedef base_type::execution_space Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::execution_space

Definition at line 982 of file fenl_assembly_view/fenl_functors.hpp.

◆ fad_scalar_type [2/2]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
typedef base_type::fad_scalar_type Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::fad_scalar_type

Definition at line 988 of file fenl_assembly_view/fenl_functors.hpp.

◆ scalar_elem_vec_type

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
typedef Kokkos::View<scalar_type[FunctionCount],Kokkos::LayoutRight,execution_space,Kokkos::MemoryUnmanaged> Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::scalar_elem_vec_type

Definition at line 990 of file fenl_assembly_view/fenl_functors.hpp.

◆ fad_elem_vec_type

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
typedef base_type::elem_vec_type Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::fad_elem_vec_type

Definition at line 991 of file fenl_assembly_view/fenl_functors.hpp.

Constructor & Destructor Documentation

◆ ElementComputation() [1/4]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::ElementComputation ( const ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized > & rhs)
inline

Definition at line 982 of file fenl_assembly/fenl_functors.hpp.

◆ ElementComputation() [2/4]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::ElementComputation ( const typename base_type::mesh_type & arg_mesh,
const typename base_type::vector_type & arg_solution,
const typename base_type::elem_graph_type & arg_elem_graph,
const typename base_type::sparse_matrix_type & arg_jacobian,
const typename base_type::vector_type & arg_residual )
inline

Definition at line 984 of file fenl_assembly/fenl_functors.hpp.

◆ ElementComputation() [3/4]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::ElementComputation ( const ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized > & rhs)
inline

Definition at line 993 of file fenl_assembly_view/fenl_functors.hpp.

◆ ElementComputation() [4/4]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::ElementComputation ( const typename base_type::mesh_type & arg_mesh,
const typename base_type::vector_type & arg_solution,
const typename base_type::elem_graph_type & arg_elem_graph,
const typename base_type::sparse_matrix_type & arg_jacobian,
const typename base_type::vector_type & arg_residual )
inline

Definition at line 995 of file fenl_assembly_view/fenl_functors.hpp.

Member Function Documentation

◆ apply() [1/2]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
void Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::apply ( ) const
inline

Definition at line 995 of file fenl_assembly/fenl_functors.hpp.

◆ gatherSolution() [1/2]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
KOKKOS_INLINE_FUNCTION void Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::gatherSolution ( const unsigned ielem,
scalar_type val[],
unsigned node_index[],
double x[],
double y[],
double z[],
fad_scalar_type res[] ) const
inline

Definition at line 1002 of file fenl_assembly/fenl_functors.hpp.

◆ computeElementResidual() [1/2]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
KOKKOS_INLINE_FUNCTION void Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::computeElementResidual ( const scalar_type dof_values[],
const double x[],
const double y[],
const double z[],
fad_scalar_type elem_res[] ) const
inline

Definition at line 1022 of file fenl_assembly/fenl_functors.hpp.

◆ operator()() [1/2]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
KOKKOS_INLINE_FUNCTION void Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::operator() ( const unsigned ielem) const
inline

Definition at line 1087 of file fenl_assembly/fenl_functors.hpp.

◆ apply() [2/2]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
void Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::apply ( ) const
inline

Definition at line 1006 of file fenl_assembly_view/fenl_functors.hpp.

◆ gatherSolution() [2/2]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
KOKKOS_INLINE_FUNCTION void Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::gatherSolution ( const unsigned ielem,
const scalar_elem_vec_type & val,
unsigned node_index[],
double x[],
double y[],
double z[],
const fad_elem_vec_type & res ) const
inline

Definition at line 1013 of file fenl_assembly_view/fenl_functors.hpp.

◆ computeElementResidual() [2/2]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
KOKKOS_INLINE_FUNCTION void Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::computeElementResidual ( const scalar_elem_vec_type dof_values,
const double x[],
const double y[],
const double z[],
const fad_elem_vec_type & elem_res ) const
inline

Definition at line 1034 of file fenl_assembly_view/fenl_functors.hpp.

◆ operator()() [2/2]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
KOKKOS_INLINE_FUNCTION void Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::operator() ( const unsigned ielem) const
inline

Definition at line 1099 of file fenl_assembly_view/fenl_functors.hpp.

Member Data Documentation

◆ FunctionCount

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
static const unsigned Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::FunctionCount = base_type::FunctionCount
static

Definition at line 976 of file fenl_assembly/fenl_functors.hpp.

◆ IntegrationCount

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
static const unsigned Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::IntegrationCount = base_type::IntegrationCount
static

Definition at line 977 of file fenl_assembly/fenl_functors.hpp.

◆ ElemNodeCount

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType>
static const unsigned Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, FadElementOptimized >::ElemNodeCount = base_type::ElemNodeCount
static

Definition at line 978 of file fenl_assembly/fenl_functors.hpp.


The documentation for this class was generated from the following files: