Skip to content

Collection of scripts I use when working with ReFRESCO

License

Notifications You must be signed in to change notification settings

mKlapwijk/refresco-tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Collection of scripts I use when working with ReFRESCO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.5%
  • Shell 3.5%