Skip to content

Commit 6e2a648

Browse files
committed
refac(src): export everything via one module
This commit refactors the directory structure to support accessing all currently public module entities via one common assert_m module, which is in what is now the only file at the top level of the src/ subdirectory: assert_m.F90. All pre-existing files in src/ have been moved to the new src/assert subdirectory, a common pattern employed across many projects.
1 parent 62b5746 commit 6e2a648

File tree

6 files changed

+10
-4
lines changed

6 files changed

+10
-4
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
! "Multi-Dimensional Physics Implementation into Fuel Analysis under Steady-state and Transients (FAST)",
55
! contract # NRC-HQ-60-17-C-0007
66
!
7-
module assert_m
7+
module assert_subroutine_m
88
!! summary: Utility for runtime checking of logical assertions.
99
!! usage: error-terminate if the assertion fails:
1010
!!
@@ -44,4 +44,4 @@ pure module subroutine assert(assertion, description, diagnostic_data)
4444

4545
end interface
4646

47-
end module
47+
end module assert_subroutine_m
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
! "Multi-Dimensional Physics Implementation into Fuel Analysis under Steady-state and Transients (FAST)",
55
! contract # NRC-HQ-60-17-C-0007
66
!
7-
submodule(assert_m) assert_s
7+
submodule(assert_subroutine_m) assert_subroutine_s
88
implicit none
99

1010
contains
@@ -84,4 +84,4 @@ end function string
8484

8585
end procedure
8686

87-
end submodule
87+
end submodule assert_subroutine_s

src/assert_m.f90

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module assert_m
2+
use intrinsic_array_m
3+
use assert_subroutine_m
4+
use characterizable_m
5+
implicit none
6+
end module assert_m

0 commit comments

Comments
 (0)