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 36de6b9
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion include/picongpu/traits/PICToAdios.tpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2013-2019 Axel Huebl, Felix Schmitt
/* Copyright 2013-2019 Axel Huebl, Felix Schmitt, Alexander Debus
*
* This file is part of PIConGPU.
*
Expand Down 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 36de6b9

Please sign in to comment.