Skip to content

Commit

Permalink
comment and WriteParameters update
Browse files Browse the repository at this point in the history
  • Loading branch information
maggul committed Nov 5, 2024
1 parent 95d4d5b commit 6edf6ce
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .gitlab/radiuss-spack-configs
Submodule radiuss-spack-configs updated 57 files
+0 −1 .gitignore
+0 −7 .mailmap
+0 −22 .readthedocs.yml
+3 −4 README.md
+529 −0 blueos_3_ppc64le_ib/compilers.yaml
+108 −0 blueos_3_ppc64le_ib/packages.yaml
+0 −792 blueos_3_ppc64le_ib/spack.yaml
+206 −0 config.yaml
+93 −0 darwin/compilers.yaml
+29 −0 darwin/packages.yaml
+0 −131 darwin/spack.yaml
+0 −15 docs/CMakeLists.txt
+0 −3 docs/requirements.txt
+0 −140 docs/sphinx/conf.py
+0 −78 docs/sphinx/index.rst
+0 −122 docs/sphinx/user_guide/build_and_test.rst
+0 −454 docs/sphinx/user_guide/how_to.rst
+ docs/sphinx/user_guide/images/Full-CI-Infrastructure.png
+ docs/sphinx/user_guide/images/Shared-Build-Infrastructure.png
+ docs/sphinx/user_guide/images/SharedCI_Dependencies.png
+0 −16 docs/sphinx/user_guide/images/build-infrastructure-components.dot
+ docs/sphinx/user_guide/images/build-infrastructure-components.png
+0 −61 docs/sphinx/user_guide/index.rst
+0 −213 docs/sphinx/user_guide/use_spack.rst
+0 −11 gitlab/radiuss-jobs/corona.yml
+0 −42 gitlab/radiuss-jobs/lassen.yml
+0 −22 gitlab/radiuss-jobs/poodle.yml
+0 −22 gitlab/radiuss-jobs/ruby.yml
+0 −16 gitlab/radiuss-jobs/tioga.yml
+2 −60 packages/blt/package.py
+65 −136 packages/caliper/package.py
+0 −15 packages/camp/camp-rocm6.patch
+0 −24 packages/camp/libstdc++-13-missing-header.patch
+99 −115 packages/camp/package.py
+0 −291 packages/care/package.py
+0 −13 packages/chai/change_mpi_target_name_umpire_patch.patch
+108 −178 packages/chai/package.py
+0 −13 packages/fmt/fmt-attributes-cpp11_4.1.0.patch
+0 −13 packages/fmt/fmt-no-export-cpp11flag_3.0.0.patch
+0 −22 packages/fmt/fmt-no-variable-initialize_10.0.0.patch
+0 −15 packages/fmt/fmt-use-cmake-cxx-standard_3.0.0.patch
+0 −141 packages/fmt/package.py
+0 −352 packages/raja-perf/package.py
+154 −362 packages/raja/package.py
+252 −0 packages/raja_perf/package.py
+0 −106 packages/umpire/dual_blt_import_umpire_2022.10_2023.06.patch
+0 −130 packages/umpire/export_includes.patch
+196 −348 packages/umpire/package.py
+0 −2 repo.yaml
+560 −0 toss_3_x86_64_ib/compilers.yaml
+140 −0 toss_3_x86_64_ib/packages.yaml
+176 −0 toss_4_x86_64_ib/compilers.yaml
+228 −0 toss_4_x86_64_ib/packages.yaml
+0 −571 toss_4_x86_64_ib/spack.yaml
+157 −0 toss_4_x86_64_ib_cray/compilers.yaml
+128 −0 toss_4_x86_64_ib_cray/packages.yaml
+0 −672 toss_4_x86_64_ib_cray/spack.yaml
18 changes: 11 additions & 7 deletions src/arkode/arkode_lsrkstep.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ int lsrkStep_Init(ARKodeMem ark_mem, int init_type)
}

/* Signal to shared arkode module that full RHS evaluations are required */
ark_mem->call_fullrhs = SUNTRUE;
ark_mem->call_fullrhs = SUNFALSE;

return ARK_SUCCESS;
}
Expand Down Expand Up @@ -462,9 +462,11 @@ int lsrkStep_FullRHS(ARKodeMem ark_mem, sunrealtype t, N_Vector y, N_Vector f,
weighted local error if an embedding is present; otherwise it
should be 0.
The input/output variable nflagPtr is used to gauge convergence
of any algebraic solvers within the step. As this routine
involves no algebraic solve, it is set to 0 (success).
The input/output variable nflagPtr is generally used in ARKODE
to gauge the convergence of any algebraic solvers. However, since
the STS step routines do not involve an algebraic solve, this variable
instead serves to identify possible ARK_RETRY_STEP returns within this
routine.
The return value from this routine is:
0 => step completed successfully
Expand Down Expand Up @@ -744,9 +746,11 @@ int lsrkStep_TakeStepRKC(ARKodeMem ark_mem, sunrealtype* dsmPtr, int* nflagPtr)
weighted local error if an embedding is present; otherwise it
should be 0.
The input/output variable nflagPtr is used to gauge convergence
of any algebraic solvers within the step. As this routine
involves no algebraic solve, it is set to 0 (success).
The input/output variable nflagPtr is generally used in ARKODE
to gauge the convergence of any algebraic solvers. However, since
the STS step routines do not involve an algebraic solve, this variable
instead serves to identify possible ARK_RETRY_STEP returns within this
routine.
The return value from this routine is:
0 => step completed successfully
Expand Down
18 changes: 0 additions & 18 deletions src/arkode/arkode_lsrkstep_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -678,32 +678,14 @@ int lsrkStep_WriteParameters(ARKodeMem ark_mem, FILE* fp)
case SUNFALSE:
fprintf(fp, " Maximum number of stages allowed = %i\n",
step_mem->stage_max_limit);
fprintf(fp, " Maximum number of stages used = %i\n", step_mem->stage_max);
fprintf(fp, " Num of step when the last dom eig call happened= %li\n",
step_mem->dom_eig_nst);
fprintf(fp, " Num of successful steps = %li\n", step_mem->step_nst);
fprintf(fp, " Current real part of the dom eig = %" RSYM "\n",
step_mem->lambdaR);
fprintf(fp, " Current imag part of the dom eig = %" RSYM "\n",
step_mem->lambdaI);
fprintf(fp, " Current spectral radius = %" RSYM "\n",
step_mem->spectral_radius);
fprintf(fp, " Current number of required stages = %i\n",
step_mem->req_stages);
fprintf(fp, " Maximum spectral radius = %" RSYM "\n",
step_mem->spectral_radius_max);
fprintf(fp, " Minimum spectral radius = %" RSYM "\n",
step_mem->spectral_radius_min);
fprintf(fp, " Safety factor for the dom eig = %" RSYM "\n",
step_mem->dom_eig_safety);
fprintf(fp, " Max num of successful steps before new dom eig update = %i\n",
step_mem->dom_eig_freq);
fprintf(fp, " Flag to indicate new dom eig is needed = %d\n",
step_mem->dom_eig_update);
fprintf(fp, " Flag to indicate Jacobian is constant = %d\n",
step_mem->const_Jac);
fprintf(fp, " Flag to indicate dom eig is current = %d\n",
step_mem->dom_eig_is_current);
break;
default:
arkProcessError(ark_mem, ARK_ILL_INPUT, __LINE__, __func__, __FILE__,
Expand Down

0 comments on commit 6edf6ce

Please sign in to comment.