Ignore:
Timestamp:
Nov 22, 2011, 9:22:10 PM (14 years ago)
Author:
Julian Iseringhausen <isering@…>
Children:
facba0
Parents:
66f24d
Message:

Major vmg update.

git-svn-id: https://svn.version.fz-juelich.de/scafacos/trunk@1136 5161e1c8-67bf-11de-9fd5-51895aff932f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/interface/interface_particles.hpp

    r66f24d rdfed1c  
    1212#define INTERFACE_PARTIVLES_HPP
    1313
     14#include <list>
     15
    1416#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"
    1520#include "interface/interface.hpp"
     21#include "samples/bspline.hpp"
    1622
    1723namespace VMG
     
    2127class Multigrid;
    2228
    23 class InterfaceParticles : public Interface, public HasTempGrids
     29class InterfaceParticles : public Interface, public HasTempGrids, public HasRequestVec
    2430{
    2531public:
    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())
    2939  {}
    3040
    3141  void ImportRightHandSide(Multigrid& multigrid);
    3242  void ExportSolution(Grid& grid);
     43
     44protected:
     45  BSpline spl;
     46
     47private:
     48  std::list<Particle::Particle> particles;
    3349};
    3450
Note: See TracChangeset for help on using the changeset viewer.