Skip to content
Snippets Groups Projects
model_base.h 493 B
Newer Older
数学の武士's avatar
数学の武士 committed
#pragma once
#include <cstddef>
#include "sfx_template_parameters.h"
#include "../includeC/sfx_data.h"

template<typename T, MemType memIn, MemType memOut, MemType RunMem >
class ModelBase
{
public:
    sfxDataVecTypeC* res_sfx;
    sfxDataVecTypeC sfx;
    meteoDataVecTypeC meteo;

    int grid_size;
    bool ifAllocated;
    size_t allocated_size;
    
    ModelBase(sfxDataVecTypeC* sfx,
                meteoDataVecTypeC* meteo,
                const int grid_size);
    ~ModelBase();
};