Minor tweaks to docs; fixed typo and capitalization to be consistent

This commit is contained in:
Karl Hammond
2022-08-15 21:11:58 -05:00
parent 7d35757438
commit 8b181ed58a
3 changed files with 15 additions and 15 deletions

View File

@ -3,9 +3,9 @@ and allows the LAMMPS library interface to be invoked from Fortran codes.
It requires a Fortran compiler that supports the Fortran 2003 standard.
This interface is based on and supersedes the previous Fortran interfaces
in the examples/COUPLE/fortran* folders. But is fully supported by the
in the examples/COUPLE/fortran* folders, but is fully supported by the
LAMMPS developers and included in the documentation and unit testing.
Details on this Fortran interface and how to build programs using it
are in the manual in the doc/html/pg_fortran.html file.
are in the manual in the doc/html/Fortran.html file.

View File

@ -123,7 +123,7 @@ MODULE LIBLAMMPS
IMPLICIT NONE
INTEGER(c_int), VALUE, INTENT(IN) :: argc
TYPE(c_ptr), DIMENSION(*), INTENT(IN) :: argv
TYPE(c_ptr), VALUE, INTENT(in) :: handle
TYPE(c_ptr), VALUE, INTENT(IN) :: handle
TYPE(c_ptr) :: lammps_open_no_mpi
END FUNCTION lammps_open_no_mpi
@ -364,7 +364,7 @@ CONTAINS
! Constructor for the LAMMPS class.
! Combined wrapper around lammps_open_fortran() and lammps_open_no_mpi()
TYPE(lammps) FUNCTION lmp_open(args, comm)
INTEGER, INTENT(in), OPTIONAL :: comm
INTEGER, INTENT(IN), OPTIONAL :: comm
CHARACTER(LEN=*), INTENT(IN), OPTIONAL :: args(:)
TYPE(c_ptr), ALLOCATABLE :: argv(:)
INTEGER(c_int) :: i, c_comm, argc
@ -436,7 +436,7 @@ CONTAINS
! equivalent function to lammps_commands_list()
SUBROUTINE lmp_commands_list(self, cmds)
CLASS(lammps) :: self
CHARACTER(len=*), INTENT(in), OPTIONAL :: cmds(:)
CHARACTER(LEN=*), INTENT(IN), OPTIONAL :: cmds(:)
TYPE(c_ptr), ALLOCATABLE :: cmdv(:)
INTEGER :: i, ncmd