aboutsummaryrefslogtreecommitdiff
path: root/src/Vectors.cc
blob: 4a36bf1bc3412311881cddd362016d7f7f7c2c94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 /*@@
   @file    Vectors.cc
   @date    Tue Jul 30 20:25:08 PDT 2013
   @author  Roland Haas
   @desc
            Helper routine to return vector size from Vectors thorn
   @enddesc
 @@*/

#include <cstddef>

#include "vectors.h"

#include "pugh.h"
#include "pughi.h"

extern "C"
size_t PUGH_GetVectorSize()
{
#ifdef CCTK_REAL_VEC_SIZE
  return  CCTK_REAL_VEC_SIZE;
#else
  return 1;
#endif
}