Skip to content
Snippets Groups Projects
model-base.h 481 B
Newer Older
  • Learn to ignore specific revisions
  • 数学の武士's avatar
    数学の武士 committed
    #pragma once
    #include <cstddef>
    
    #include "sfx-template-parameters.h"
    #include "sfx-data.h"
    
    数学の武士's avatar
    数学の武士 committed
    
    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();
    };