Folder instructions
This directory collects the source code of the original programs and the development folders.
Instructions
The original code is contained in the folders named cluster
, sphere
and trapping
. Each folder contains a Makefile
to compile either the whole program set or the single programs. A global Makefile
, which contains instructions to build all the original source code, is available directly in the src
folder.
In all cases, build commands executed through make
will output the object files and the linked binaries in the proper folders under the build directory.
gfortran
and GNU make
)
FORTRAN code setup and execution (requires -
cd to the
src
folder -
run
make
make
-
cd to the
build/sphere
folder -
run
sph
following the instructions given inbuild\README.md
g++
and GNU make
)
C++ code setup and execution (requires -
cd to the
src
folder -
run
make np_sphere
make np_sphere
-
cd to the
build/sphere
folder -
run
np_sphere
./np_sphere
-
check the consistency between the text files named
OSPH
andc_OSPH