Sierra Toolkit  Version of the Day
stk_classic::mesh::FieldTraits< FieldBase > Struct Template Reference

#include <FieldTraits.hpp>

Public Types

enum  { Rank = 0 }
 Multidimensional array rank.
 
typedef shards::array_traits::Helper< void, shards::RankZero, void, void, void, void, void, void, void, void > Helper
 
typedef void data_type
 Data type of the field's members.
 
typedef void tag1
 Array dimension tag.
 
typedef void tag2
 Array dimension tag.
 
typedef void tag3
 Array dimension tag.
 
typedef void tag4
 Array dimension tag.
 
typedef void tag5
 Array dimension tag.
 
typedef void tag6
 Array dimension tag.
 
typedef void tag7
 Array dimension tag.
 

Static Public Member Functions

static void assign_tags (const shards::ArrayDimTag **tags)
 

Detailed Description

template<>
struct stk_classic::mesh::FieldTraits< FieldBase >

FieldTraits provide an API for making queries about field types. Examples:

  • Get the scalar data type contained by a field stk_classic::mesh::FieldTraits< field_type >::data_type
  • Get the dimensional rank (number of dimensions) in a field type stk_classic::mesh::FieldTraits< field_type >::Rank

Definition at line 31 of file FieldTraits.hpp.


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