Implement CCLite 0.1.5 empty coupling

This commit is contained in:
Codex
2026-07-05 17:04:19 +08:00
parent 69ae2a1c9c
commit a9f40635b6
10 changed files with 1146 additions and 20 deletions
+6 -3
View File
@@ -1,5 +1,6 @@
program cclite_main
use ccl_case_types, only: CCL_Case_Type, ccl_case_print_summary
use ccl_controller, only: ccl_controller_run_empty_coupling
use ccl_errors, only: CCL_SUCCESS, CCL_ERROR_INPUT_MISSING_ARGUMENT
use ccl_inp_parser, only: ccl_case_read
use ccl_log, only: ccl_log_info, ccl_log_error
@@ -65,10 +66,12 @@ contains
end if
call ccl_case_print_summary(ccl_case)
if (trim(mode) /= "check") then
call ccl_log_info("app", "0.1.1 validates input only; IPC execution starts in later patches")
if (trim(mode) == "check") then
ierr = CCL_SUCCESS
return
end if
ierr = CCL_SUCCESS
ierr = ccl_controller_run_empty_coupling(ccl_case)
end function handle_mode
subroutine print_help()