Panzer
Version of the Day
Loading...
Searching...
No Matches
disc-fe
src
Panzer_ArrayTraits.hpp
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// Panzer: A partial differential equation assembly
4
// engine for strongly coupled complex multiphysics systems
5
//
6
// Copyright 2011 NTESS and the Panzer contributors.
7
// SPDX-License-Identifier: BSD-3-Clause
8
// *****************************************************************************
9
// @HEADER
10
11
#ifndef PANZER_ARRAY_TRAITS_HPP
12
#define PANZER_ARRAY_TRAITS_HPP
13
14
#include "Kokkos_DynRankView.hpp"
15
#include "Phalanx_MDField.hpp"
16
17
namespace
panzer
{
18
19
template
<
typename
Scalar,
typename
Array>
struct
ArrayTraits
20
{
21
typedef
typename
Array::size_type
size_type
;
22
};
23
/*
24
// Specialization for Intrepid2::FieldContainer
25
template<typename Scalar>
26
struct ArrayTraits<Scalar,Kokkos::DynRankView<Scalar,PHX::Device> >
27
{
28
typedef int size_type;
29
30
// template <typename SubType>
31
// struct mod_scalar { typedef Intrepid2::FieldContainer<SubType> array_type; };
32
33
};
34
*/
35
/*
36
// Specialization for MDField
37
template<typename Scalar>
38
struct ArrayTraits<Scalar,PHX::MDField<Scalar> >
39
{
40
typedef typename PHX::MDField<Scalar>::size_type size_type;
41
42
// template <typename SubType>
43
// struct mod_scalar { typedef PHX::MDField<SubType> array_type; };
44
};
45
*/
46
}
47
48
#endif
panzer
Computes .
Definition
Panzer_BasisValues_Evaluator_decl.hpp:22
panzer::ArrayTraits
Definition
Panzer_ArrayTraits.hpp:20
panzer::ArrayTraits::size_type
Array::size_type size_type
Definition
Panzer_ArrayTraits.hpp:21
Generated by
1.9.8