Questions
- Which method is responsible for parsing beyond the third argument that's entered in a compute command in the LAMMPS input script?
- What arguments are accepted by the
MPI_Allreduce()
method? - What is the primary purpose of the
destructor
method? - In
compute reduce
, thereplace
option can be used to find the index of the quantity, along with the maximum or minimum value of the entered quantities (see https://lammps.sandia.gov/doc/compute_reduce.html). Answer the following questions based on this information:a. In
compute_reduce.cpp
, which lines are responsible for identifying the index of the quantity with the maximum value out of all processors?b. In
compute_reduce.cpp
, which lines are responsible for identifying the index of the quantity with the minimum value out of all processors?