File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 8
8
DESCRIPTION "Fortran tooling"
9
9
)
10
10
11
- set (CMAKE_Fortran_FLAGS "-ffree-line-length-none" )
11
+ set (GFORTRANFLAGS "-ffree-line-length-none" )
12
+ set (CMAKE_Fortran_FLAGS "${GFORTRAN_FLAGS} " ) # Update this to match the flags for the chosen compiler
12
13
13
14
# Define src files
14
15
set (PROJ_SRC_DIR "${PROJECT_SOURCE_DIR} /src" )
Original file line number Diff line number Diff line change @@ -44,3 +44,17 @@ cd build
44
44
make
45
45
```
46
46
This will produce executables for the two src codes, ` fortran-tooling-mesh-generator ` and ` fortran-tooling-poisson ` .
47
+
48
+ ## Running the src
49
+
50
+ ### Mesh generator
51
+
52
+ ``` sh
53
+ ./build/fortran-tooling-mesh-generator < box_size> < edge_size>
54
+ ```
55
+
56
+ ### Poisson solver
57
+
58
+ ``` sh
59
+ ./build/fortran-tooling-poisson # then respond to prompt with the mesh name, likely to be `square_mesh`
60
+ ```
You can’t perform that action at this time.
0 commit comments