Changeset dfed1c for src/interface/interface_particles.hpp
- Timestamp:
- Nov 22, 2011, 9:22:10 PM (14 years ago)
- Children:
- facba0
- Parents:
- 66f24d
- File:
-
- 1 edited
-
src/interface/interface_particles.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/interface/interface_particles.hpp
r66f24d rdfed1c 12 12 #define INTERFACE_PARTIVLES_HPP 13 13 14 #include <list> 15 14 16 #include "base/has_tempgrids.hpp" 17 #include "base/linked_cell_list.hpp" 18 #include "base/particle.hpp" 19 #include "comm/mpi/has_request_vec.hpp" 15 20 #include "interface/interface.hpp" 21 #include "samples/bspline.hpp" 16 22 17 23 namespace VMG … … 21 27 class Multigrid; 22 28 23 class InterfaceParticles : public Interface, public HasTempGrids 29 class InterfaceParticles : public Interface, public HasTempGrids, public HasRequestVec 24 30 { 25 31 public: 26 InterfaceParticles(BC boundary, int levelMin, int levelMax, vmg_float box_begin, vmg_float box_end) : 27 Interface(boundary, levelMin, levelMax, box_begin, box_end, 0, 1.0), 28 HasTempGrids() 32 InterfaceParticles(const Boundary& boundary, const int& levelMin, const int& levelMax, 33 const Vector& box_offset, const vmg_float& box_size, 34 const int& near_field_cells) : 35 Interface(boundary, levelMin, levelMax, box_offset, box_size, 0, 1.0), 36 HasTempGrids(), 37 HasRequestVec(), 38 spl((near_field_cells+0.5)*Extent(MaxLevel()).MeshWidth().Max()) 29 39 {} 30 40 31 41 void ImportRightHandSide(Multigrid& multigrid); 32 42 void ExportSolution(Grid& grid); 43 44 protected: 45 BSpline spl; 46 47 private: 48 std::list<Particle::Particle> particles; 33 49 }; 34 50
Note:
See TracChangeset
for help on using the changeset viewer.
