Utilities: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
Utilities are kept in <tt>utils/</tt> | |||
To build, in <tt>Makefile</tt>, set <tt>UTIL = utilname</tt> (omitting the <tt>.f90</tt> extension), then type <tt>'make util'</tt> which builds <tt>utilname.out</tt>. | |||
It is good practice to do a <tt>'make install'</tt> to generate a [[main.info]] file to keep alongside the executable. | |||
=== Pre/post-processing === | === Pre/post-processing === | ||
* [[main.info]] - Record of settings at compiletime | * [[main.info]] - Record of settings at compiletime |
Revision as of 00:29, 9 August 2014
Utilities are kept in utils/
To build, in Makefile, set UTIL = utilname (omitting the .f90 extension), then type 'make util' which builds utilname.out.
It is good practice to do a 'make install' to generate a main.info file to keep alongside the executable.
Pre/post-processing
- main.info - Record of settings at compiletime
- ic.f90 - Pre/Post-processing template.
- describe_state.f90 -- check time/parameters; see also main.info for outputs.
- prim2matlab.f90 - convert to matlab/visit-readable netcdf.
Runtime processing
- runtime.f90 - Processing template.
- newton.f90 - Newton-Krylov.
Non-problem-specific codes
- GMRESm.f90, arnoldi.f - Krylov-subspace methods.
- NewtonHook.f90 - Newton-hookstep method.