Skip to content

Commit

Permalink
merged box struct into region
Browse files Browse the repository at this point in the history
  • Loading branch information
nianyic7 authored and sbird committed Dec 27, 2024
1 parent 5a81774 commit 3ff7a85
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions libgadget/petapm.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,15 @@

#include "powerspectrum.h"

using int64 = long long int;

struct Box3D {
int64 lower[3];
int64 upper[3];
int64 strides[3];
};
using int64 = long long int;

typedef struct Region {
/* represents a region in the FFT Mesh */
ptrdiff_t offset[3];
ptrdiff_t size[3];
ptrdiff_t strides[3];
int64 offset[3];
int64 size[3];
int64 upper[3];
int64 strides[3];


size_t totalsize;
Expand Down

0 comments on commit 3ff7a85

Please sign in to comment.