~ubuntu-branches/ubuntu/saucy/python-demgengeo/saucy

« back to all changes in this revision

Viewing changes to src/FullCircMNTable3D.h

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2011-11-18 21:47:18 UTC
  • Revision ID: package-import@ubuntu.com-20111118214718-4ysqm3dhpqwdd7gd
Tags: upstream-0.99~bzr106
ImportĀ upstreamĀ versionĀ 0.99~bzr106

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/////////////////////////////////////////////////////////////
 
2
//                                                         //
 
3
// Copyright (c) 2007-2011 by The University of Queensland //
 
4
// Earth Systems Science Computational Centre (ESSCC)      //
 
5
// http://www.uq.edu.au/esscc                              //
 
6
//                                                         //
 
7
// Primary Business: Brisbane, Queensland, Australia       //
 
8
// Licensed under the Open Software License version 3.0    //
 
9
// http://www.opensource.org/licenses/osl-3.0.php          //
 
10
//                                                         //
 
11
/////////////////////////////////////////////////////////////
 
12
 
 
13
#ifndef __FULLCIRCMNTABLE3D_H
 
14
#define __FULLCIRCMNTABLE3D_H
 
15
 
 
16
// --- Project includes ---
 
17
#include "CircMNTable3D.h"
 
18
 
 
19
/*!
 
20
  \class FullCircMNTable3D
 
21
  \brief circular 3D Multi-group Neighbour table
 
22
 
 
23
  Neighbour table supporting multiple tagged groups of particles and circular boundary
 
24
  conditions in x, y and z 
 
25
*/
 
26
class FullCircMNTable3D : public CircMNTable3D
 
27
{
 
28
 protected:
 
29
  Vector3 m_shift_y,m_shift_z;
 
30
 
 
31
  virtual void set_y_circ();
 
32
  virtual void set_z_circ();
 
33
  virtual int getIndex(const Vector3&) const;
 
34
 
 
35
 public:
 
36
  FullCircMNTable3D();
 
37
  FullCircMNTable3D(const Vector3&,const Vector3&,double,unsigned int);
 
38
  virtual ~FullCircMNTable3D();
 
39
  
 
40
  virtual bool insert(const Sphere&,unsigned int);
 
41
  virtual bool insertChecked(const Sphere&,unsigned int,double tol=s_small_value);
 
42
  virtual bool checkInsertable(const Sphere&,unsigned int);
 
43
  virtual void generateBonds(int,double,int);  
 
44
 
 
45
  // output 
 
46
  //  friend ostream& operator << (ostream&,const FullCircMNTable3D&);
 
47
};
 
48
 
 
49
#endif // __FULLCIRCMNTABLE3D_H