Commit 58a17532 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer Committed by Anne Gunn
Browse files

fix up some comments

parent ec1fe4e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -321,7 +321,7 @@ void BodyRoundedPolygon::data_body(int ibonus, int ninteger, int ndouble,

/* ----------------------------------------------------------------------
   pack data struct for one body into buf for writing to data file
   if buf is nullptr, just return buffer size
   if buf is a null pointer, just return buffer size
------------------------------------------------------------------------- */

int BodyRoundedPolygon::pack_data_body(tagint atomID, int ibonus, double *buf)
+1 −1
Original line number Diff line number Diff line
@@ -373,7 +373,7 @@ void BodyRoundedPolyhedron::data_body(int ibonus, int ninteger, int ndouble,

/* ----------------------------------------------------------------------
   pack data struct for one body into buf for writing to data file
   if buf is nullptr, just return buffer size
   if buf is a null pointer, just return buffer size
------------------------------------------------------------------------- */

int BodyRoundedPolyhedron::pack_data_body(tagint atomID, int ibonus, double *buf)
+1 −1
Original line number Diff line number Diff line
@@ -226,7 +226,7 @@ void FixWallBodyPolygon::post_force(int /*vflag*/)
  // dx,dy,dz = signed distance from wall
  // for rotating cylinder, reset vwall based on particle position
  // skip atom if not close enough to wall
  //   if wall was set to nullptr, it's skipped since lo/hi are infinity
  //   if wall was set to a null pointer, it's skipped since lo/hi are infinity
  // compute force and torque on atom if close enough to wall
  //   via wall potential matched to pair potential

+1 −1
Original line number Diff line number Diff line
@@ -233,7 +233,7 @@ void FixWallBodyPolyhedron::post_force(int /*vflag*/)
  // dx,dy,dz = signed distance from wall
  // for rotating cylinder, reset vwall based on particle position
  // skip atom if not close enough to wall
  //   if wall was set to nullptr, it's skipped since lo/hi are infinity
  //   if wall was set to a null pointer, it's skipped since lo/hi are infinity
  // compute force and torque on atom if close enough to wall
  //   via wall potential matched to pair potential

+1 −1
Original line number Diff line number Diff line
@@ -1880,7 +1880,7 @@ void PairBodyRoundedPolyhedron::project_pt_plane(const double* q,
    face_index  = face index of the body
    xmi         = atom i's coordinates
    q1          = tested point on the face (e.g. the projection of a point)
    q2          = another point (can be nullptr) for face-edge intersection
    q2          = another point (can be a null pointer) for face-edge intersection
  Output:
    inside1     = 1 if q1 is inside the polygon, 0 otherwise
    inside2     = 1 if q2 is inside the polygon, 0 otherwise
Loading