Program Listing for File MessageSpatial2D.h
↰ Return to documentation for file (include/flamegpu/runtime/messaging/MessageSpatial2D.h
)
#ifndef INCLUDE_FLAMEGPU_RUNTIME_MESSAGING_MESSAGESPATIAL2D_H_
#define INCLUDE_FLAMEGPU_RUNTIME_MESSAGING_MESSAGESPATIAL2D_H_
#include "flamegpu/runtime/messaging/MessageBruteForce.h"
namespace flamegpu {
class MessageSpatial2D {
public:
// Host
struct Data; // Forward declare inner classes
class CDescription; // Forward declare inner classes
class Description; // Forward declare inner classes
class CUDAModelHandler;
// Device
class In;
class Out;
struct GridPos2D {
int x, y;
};
struct MetaData {
float min[2];
float max[2];
float radius;
unsigned int *PBM;
unsigned int gridDim[2];
float environmentWidth[2];
};
};
} // namespace flamegpu
#endif // INCLUDE_FLAMEGPU_RUNTIME_MESSAGING_MESSAGESPATIAL2D_H_