Parallel Finite Element - General geometry Ewald-like Method
Part of Continuum-particle Simulation Suite under MICCOM
fix_point.h
Go to the documentation of this file.
1 // Parallel Finite Element-General Geometry Ewald-like Method.
2 // Copyright (C) 2015-2016 Xujun Zhao, Jiyuan Li, Xikai Jiang
3 
4 // This code is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License, or (at your option) any later version.
8 
9 
10 // This code is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // Lesser General Public License for more details.
14 
15 
16 // You should have received a copy of the GNU General Public
17 // License along with this code; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 
20 
21 
22 #pragma once
23 
24 #include <stdio.h>
25 #include <map>
26 #include <cmath>
27 
28 #include "fix.h"
29 #include "../point_particle.h"
30 
31 namespace libMesh
32 {
33 
34  /*
35  * The class is designed for computing the force field
36  * of the system
37  */
38 
39 
40 class FixPoint: public Fix
41 {
42 public:
43 
46 
47  virtual ~FixPoint(){}
48 
54  void initParticleType();
55 
56  virtual void initPointParticleType() {};
57 
58  void check_walls();
59 
60  void check_walls_pbcCount();
61 
62 protected:
63 
64  std::string point_particle_model;
65 
66 
67 
68 }; // end of class
69 
70 } // end of namespace
virtual ~FixPoint()
Definition: fix_point.h:47
void check_walls_pbcCount()
Definition: fix_point.C:77
Definition: fix_point.h:40
Definition: brownian_system.h:58
std::string point_particle_model
Definition: fix_point.h:64
void check_walls()
Definition: fix_point.C:22
FixPoint(PMLinearImplicitSystem &pm_sys)
Constructor for a system with point particles.
Definition: fix_point.C:3
Definition: fix.h:55
virtual void initPointParticleType()
Definition: fix_point.h:56
Definition: pm_linear_implicit_system.h:52
void initParticleType()
Definition: fix_point.C:11