SHARE
TWEET

Untitled

a guest Oct 14th, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef X_ISOLVER
  2. #define X_ISOLVER
  3. #include "sph_model.hpp"
  4. #include <string>
  5. namespace x_engine {
  6. namespace solver {
  7. enum SOLVER_TYPE { OCL = 1, CUDA, SINGLE, PARALLEL };
  8. using x_engine::model::partition;
  9. class i_solver {
  10. public:
  11.   // virtual void synk() = 0;
  12.   virtual ~i_solver(){};
  13.   virtual void run_neighbour_search() = 0;
  14.   virtual void run_physic() = 0;
  15.   virtual void init_model(const partition &) = 0;
  16.  
  17. private:
  18.   virtual void init_ext_particles() = 0;
  19. };
  20. }
  21. }
  22. #endif
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top