Unverified Commit d4c74551 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

reduce output precision

parent b34b58c7
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1466,10 +1466,10 @@ void Neighbor::print_pairwise_info()
                     every,delay,dist_check ? "yes" : "no");
  out += fmt::format("  max neighbors/atom: {}, page size: {}\n",
                     oneatom, pgsize);
  out += fmt::format("  master list distance cutoff = {}\n",cutneighmax);
  out += fmt::format("  ghost atom cutoff = {}\n",cutghost);
  out += fmt::format("  master list distance cutoff = {:.8g}\n",cutneighmax);
  out += fmt::format("  ghost atom cutoff = {:.8g}\n",cutghost);
  if (style != Neighbor::NSQ)
    out += fmt::format("  binsize = {}, bins = {} {} {}\n",binsize,
    out += fmt::format("  binsize = {:.8g}, bins = {:g} {:g} {:g}\n",binsize,
                       ceil(bbox[0]/binsize), ceil(bbox[1]/binsize),
                       ceil(bbox[2]/binsize));

+2 −2
Original line number Diff line number Diff line
@@ -63,8 +63,8 @@ void Special::build()
    const double * const special_lj   = force->special_lj;
    const double * const special_coul = force->special_coul;
    fmt::print(screen,"Finding 1-2 1-3 1-4 neighbors ...\n"
               "  special bond factors lj:   {:<10g} {:<10g} {:<10g}\n"
               "  special bond factors coul: {:<10g} {:<10g} {:<10g}\n",
               "  special bond factors lj:   {:<8g} {:<8g} {:<8g}\n"
               "  special bond factors coul: {:<8g} {:<8g} {:<8g}\n",
               special_lj[1],special_lj[2],special_lj[3],
               special_coul[1],special_coul[2],special_coul[3]);
  }