Skip to content

Commit

Permalink
Include int16 and uint16 types in traits for ADIOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
BeyondEspresso committed Mar 23, 2019
1 parent cbe4dbc commit a28fb9a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions include/picongpu/traits/PICToAdios.tpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,24 @@ namespace traits
);
};

template<>
struct PICToAdios<int16_t>
{
ADIOS_DATATYPES type;

PICToAdios() :
type(adios_short) {}
};

template<>
struct PICToAdios<uint16_t>
{
ADIOS_DATATYPES type;

PICToAdios() :
type(adios_unsigned_short) {}
};

template<>
struct PICToAdios<int32_t>
{
Expand Down

0 comments on commit a28fb9a

Please sign in to comment.