~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to src/QEQ/fix_qeq_shielded.h

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2015-04-29 23:44:49 UTC
  • mfrom: (5.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20150429234449-mbhy9utku6hp6oq8
Tags: 0~20150313.gitfa668e1-1
Upload into unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- c++ -*- ----------------------------------------------------------
 
2
   LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
 
3
   http://lammps.sandia.gov, Sandia National Laboratories
 
4
   Steve Plimpton, sjplimp@sandia.gov
 
5
 
 
6
   Copyright (2003) Sandia Corporation.  Under the terms of Contract
 
7
   DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
 
8
   certain rights in this software.  This software is distributed under
 
9
   the GNU General Public License.
 
10
 
 
11
   See the README file in the top-level LAMMPS directory.
 
12
------------------------------------------------------------------------- */
 
13
 
 
14
#ifdef FIX_CLASS
 
15
 
 
16
FixStyle(qeq/shielded,FixQEqShielded)
 
17
 
 
18
#else
 
19
 
 
20
#ifndef LMP_FIX_QEQ_SHIELDED_H
 
21
#define LMP_FIX_QEQ_SHIELDED_H
 
22
 
 
23
#include "fix_qeq.h"
 
24
 
 
25
namespace LAMMPS_NS {
 
26
 
 
27
class FixQEqShielded : public FixQEq {
 
28
 public:
 
29
  FixQEqShielded(class LAMMPS *, int, char **);
 
30
  ~FixQEqShielded() {}
 
31
  void init();
 
32
  void pre_force(int);
 
33
 
 
34
 private:
 
35
  void init_shielding();
 
36
  void init_matvec();
 
37
  void compute_H();
 
38
  double calculate_H(double,double);
 
39
 
 
40
};
 
41
}
 
42
#endif
 
43
#endif