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

« back to all changes in this revision

Viewing changes to lib/atc/KernelFunction.cpp

  • 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:
131
131
    invRc_ = 1.0/Rc_;
132
132
    Rc_ = parameters[0];
133
133
    invRc_ = 1.0/Rc_;
134
 
    invVol_ = 1.0/(4.0/3.0*Pi*pow(Rc_,3));
 
134
    invVol_ = 1.0/(4.0/3.0*Pi_*pow(Rc_,3));
135
135
 
136
136
    ATC::Quadrature::instance()->set_line_quadrature(line_ngauss,line_xg,line_wg);
137
137
 
561
561
  {
562
562
    nsd_ = 2;
563
563
    double Lz = box_length[2];
564
 
    invVol_ = 1.0/(Pi*pow(Rc_,2)*Lz);
 
564
    invVol_ = 1.0/(Pi_*pow(Rc_,2)*Lz);
565
565
    for (int k = 0; k < nsd_; k++ ) {
566
566
      if ((bool) periodicity[k]) {
567
567
        if (Rc_ > 0.5*box_length[k]) {
594
594
  {
595
595
    nsd_ = 2;
596
596
    double Lz = box_length[2];
597
 
    invVol_ = 1.0/(Pi*pow(Rc_,2)*Lz);
 
597
    invVol_ = 1.0/(Pi_*pow(Rc_,2)*Lz);
598
598
    for (int k = 0; k < nsd_; k++ ) {
599
599
      if ((bool) periodicity[k]) {
600
600
        if (Rc_ > 0.5*box_length[k]) {