8000 GitHub - JamieJQuinn/sdf-tool: Tool for manipulating SDF files
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

JamieJQuinn/sdf-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDF-tool

What is SDF?

SDF (self-describing format) is a file format developed at Warwick designed to contain simulation data.

What is SDF-tool?

sdf-tool is a simple tool for manipulating SDF files, particularly those outputted from the Lare3D code.

Features

  • Reading/writing of SDF files
  • Removing whole variables
  • Taking 3D slices
  • Calculating new variables

Prerequisites

In order to compile and run sdf-tool you must have a local version of MPI linked to gfortran. I haven't yet tested intel's fortran compilers + MPI. The use of MPI is integral to the SDF library.

Installation

Installing should be as simple as cloning the git repository:

git clone --recursive https://github.com/JamieJQuinn/sdf-tool.git

The use of recursive should automatically clone the SDF library.

A simple make will compile the tool and it can be run with bin/sdf-tool.

Usage

Input/Output

sdf-tool -i in.sdf -o out.sdf

Specifying variables

Variables are selected by their block names

sdf-tool --output-variables Energy Vx

Slicing

The slice is inclusive and in index space, so 1 100 slices from index number 1 to 100, inclusive.

sdf-tool --slice 1 100 1 100 25 75

About

Tool for manipulating SDF files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0