Skip to content

spinorkit/LWPC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LWPC v.2.1

SPAWAR LWPC Longwave Propagation Code v.2.1 was described, validated, and used by numerous authors. Here we present a Python interface to the original Fortran code.

Minimum edits to source to compile on modern (non-Watcom) Fortran compilers such as Gfortan.

Build

cd LWPCv21/build

cmake ..
cmake --build .

Run

./lwpc

the file ../output/lwpm.lwf is created with the simulation output, the console says "Normal run complete" and stderr is 0.

Examples

Several example inputs are provided:

./lwpc ../gcpath

./lwpc ../lwpm

./lwpc ../jammer

./lwpc ../bearings

./lwpc ../lwflds

Read output

./scan

../output lwpc.lwf

will create text file "scan.log" that will help confirm the simulation was run correctly.

About

SPAWAR LWPC longwave propagation code v.2.1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%