Stokhos 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 >, Analytic, CoeffFunctionType > Class Template Reference

#include <fenl_functors.hpp>

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

Public Types

typedef ElementComputationBase< ExecutionSpace, Order, CoordinateMap, ScalarType > base_type
typedef base_type::scalar_type scalar_type
typedef base_type::execution_space execution_space
Public Types inherited from Kokkos::Example::FENL::ElementComputationBase< ExecutionSpace, Order, CoordinateMap, ScalarType >
typedef Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap > mesh_type
typedef Kokkos::Example::HexElement_Data< mesh_type::ElemNodeelement_data_type
typedef ExecutionSpace execution_space
typedef ScalarType scalar_type
typedef CrsMatrix< ScalarType, ExecutionSpace > sparse_matrix_type
typedef sparse_matrix_type::StaticCrsGraphType sparse_graph_type
typedef Kokkos::View< scalar_type *, Kokkos::LayoutLeft, execution_spacevector_type
typedef mesh_type::node_coord_type node_coord_type
typedef mesh_type::elem_node_type elem_node_type
typedef Kokkos::View< scalar_type *[FunctionCount][FunctionCount], execution_spaceelem_matrices_type
typedef Kokkos::View< scalar_type *[FunctionCount], execution_spaceelem_vectors_type
typedef NodeNodeGraph< elem_node_type, sparse_graph_type, ElemNodeCount >::ElemGraphType elem_graph_type

Public Member Functions

 ElementComputation (const ElementComputation &rhs)
 ElementComputation (const typename base_type::mesh_type &arg_mesh, const CoeffFunctionType &arg_coeff_function, 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, const Kokkos::Example::FENL::DeviceConfig arg_dev_config)
void apply () const
KOKKOS_INLINE_FUNCTION void gatherSolution (const unsigned ielem, scalar_type val[], unsigned node_index[], double x[], double y[], double z[], scalar_type res[], scalar_type mat[][FunctionCount]) const
KOKKOS_INLINE_FUNCTION void scatterResidual (const unsigned ielem, const unsigned node_index[], const scalar_type res[], const scalar_type mat[][FunctionCount]) const
KOKKOS_INLINE_FUNCTION void computeElementResidualJacobian (const scalar_type dof_values[], const double x[], const double y[], const double z[], scalar_type elem_res[], scalar_type elem_mat[][FunctionCount]) const
KOKKOS_INLINE_FUNCTION void operator() (const unsigned ielem) const
Public Member Functions inherited from Kokkos::Example::FENL::ElementComputationBase< ExecutionSpace, Order, CoordinateMap, ScalarType >
 ElementComputationBase (const ElementComputationBase &rhs)
 ElementComputationBase (const mesh_type &arg_mesh, const vector_type &arg_solution, const elem_graph_type &arg_elem_graph, const sparse_matrix_type &arg_jacobian, const vector_type &arg_residual)
KOKKOS_INLINE_FUNCTION double transform_gradients (const double grad[][FunctionCount], const double x[], const double y[], const double z[], double dpsidx[], double dpsidy[], double dpsidz[]) const

Public Attributes

const CoeffFunctionType coeff_function
const Kokkos::Example::FENL::DeviceConfig dev_config
Public Attributes inherited from Kokkos::Example::FENL::ElementComputationBase< ExecutionSpace, Order, CoordinateMap, ScalarType >
const element_data_type elem_data
const elem_node_type elem_node_ids
const node_coord_type node_coords
const elem_graph_type elem_graph
const elem_matrices_type elem_jacobians
const elem_vectors_type elem_residuals
const vector_type solution
const vector_type residual
const sparse_matrix_type jacobian

Static Public Attributes

static const unsigned FunctionCount = base_type::FunctionCount
static const unsigned IntegrationCount = base_type::IntegrationCount
static const unsigned ElemNodeCount = base_type::ElemNodeCount
Static Public Attributes inherited from Kokkos::Example::FENL::ElementComputationBase< ExecutionSpace, Order, CoordinateMap, ScalarType >
static const unsigned SpatialDim = element_data_type::spatial_dimension
static const unsigned TensorDim = SpatialDim * SpatialDim
static const unsigned ElemNodeCount = element_data_type::element_node_count
static const unsigned FunctionCount = element_data_type::function_count
static const unsigned IntegrationCount = element_data_type::integration_count

Detailed Description

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

Definition at line 773 of file FadMPAssembly/fenl_functors.hpp.

Member Typedef Documentation

◆ base_type

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

Definition at line 782 of file FadMPAssembly/fenl_functors.hpp.

◆ scalar_type

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

Definition at line 784 of file FadMPAssembly/fenl_functors.hpp.

◆ execution_space

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

Definition at line 785 of file FadMPAssembly/fenl_functors.hpp.

Constructor & Destructor Documentation

◆ ElementComputation() [1/2]

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

Definition at line 794 of file FadMPAssembly/fenl_functors.hpp.

◆ ElementComputation() [2/2]

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType, class CoeffFunctionType>
Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, Analytic, CoeffFunctionType >::ElementComputation ( const typename base_type::mesh_type & arg_mesh,
const CoeffFunctionType & arg_coeff_function,
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,
const Kokkos::Example::FENL::DeviceConfig arg_dev_config )
inline

Definition at line 799 of file FadMPAssembly/fenl_functors.hpp.

Member Function Documentation

◆ apply()

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

Definition at line 814 of file FadMPAssembly/fenl_functors.hpp.

◆ gatherSolution()

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

Definition at line 821 of file FadMPAssembly/fenl_functors.hpp.

◆ scatterResidual()

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType, class CoeffFunctionType>
KOKKOS_INLINE_FUNCTION void Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, Analytic, CoeffFunctionType >::scatterResidual ( const unsigned ielem,
const unsigned node_index[],
const scalar_type res[],
const scalar_type mat[][FunctionCount] ) const
inline

Definition at line 847 of file FadMPAssembly/fenl_functors.hpp.

◆ computeElementResidualJacobian()

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

Definition at line 868 of file FadMPAssembly/fenl_functors.hpp.

◆ operator()()

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

Definition at line 961 of file FadMPAssembly/fenl_functors.hpp.

Member Data Documentation

◆ FunctionCount

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

Definition at line 787 of file FadMPAssembly/fenl_functors.hpp.

◆ IntegrationCount

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

Definition at line 788 of file FadMPAssembly/fenl_functors.hpp.

◆ ElemNodeCount

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

Definition at line 789 of file FadMPAssembly/fenl_functors.hpp.

◆ coeff_function

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType, class CoeffFunctionType>
const CoeffFunctionType Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, Analytic, CoeffFunctionType >::coeff_function

Definition at line 791 of file FadMPAssembly/fenl_functors.hpp.

◆ dev_config

template<class ExecutionSpace, BoxElemPart::ElemOrder Order, class CoordinateMap, typename ScalarType, class CoeffFunctionType>
const Kokkos::Example::FENL::DeviceConfig Kokkos::Example::FENL::ElementComputation< Kokkos::Example::BoxElemFixture< ExecutionSpace, Order, CoordinateMap >, CrsMatrix< ScalarType, ExecutionSpace >, Analytic, CoeffFunctionType >::dev_config

Definition at line 792 of file FadMPAssembly/fenl_functors.hpp.


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