Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.16 KB

README.md

File metadata and controls

38 lines (31 loc) · 1.16 KB

refresco-tools

Collection of scripts I use when working with ReFRESCO

residisp

Python script to display ReFRESCO residuals (steady or not). A help page is available via residisp -h.

Example usage:

residisp 3729365          # slurm job ID
residisp ~/path/to/computation/folder
residisp --very-end -l2
residisp --max-it 20000   # to reduce the memory consumption: limit the number of iteration loaded

rdiff

Very small script to run vimdiff between a branch and the trunk of an svn repository (hence not limited to refresco)

Usage:

# use full path
rdiff ~/ReFRESCO/Dev/branches/overset/Code/src/refresco.F90

# or any relative path works too
rdiff src/refresco.F90

Small vimdiff cheat sheet:

]c                    go to the next difference
[c                    go to the previous difference
do                    get the diff from the other file (diff obtain)
dp                    send the diff to the other file  (diff put)
zr                    unfold the entire file
:diffupdate           re-scan the files for differences
:set diffopt+=iwhite  ignore white space comparison (can be added in .vimrc)
ctrl-w w              switch between windows