Program Listing for File MessageSpatial3D.h

Return to documentation for file (include/flamegpu/runtime/messaging/MessageSpatial3D.h)

#ifndef INCLUDE_FLAMEGPU_RUNTIME_MESSAGING_MESSAGESPATIAL3D_H_
#define INCLUDE_FLAMEGPU_RUNTIME_MESSAGING_MESSAGESPATIAL3D_H_

#include "flamegpu/runtime/messaging/MessageBruteForce.h"

namespace flamegpu {

class MessageSpatial3D {
 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 GridPos3D {
        int x, y, z;
    };
    struct MetaData {
        float min[3];
        float max[3];
        float radius;
        unsigned int *PBM;
        unsigned int gridDim[3];
        float environmentWidth[3];
    };
};

}  // namespace flamegpu

#endif  // INCLUDE_FLAMEGPU_RUNTIME_MESSAGING_MESSAGESPATIAL3D_H_