Git Product home page Git Product logo

lwpc's Introduction

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

cmake -B build
cmake --build 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.

lwpc's People

Contributors

scivision avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lwpc's Issues

How to run the sample code

It's often helpful to know

  • operating system (Windows)
  • compiler & version (for compiled-source issues)
  • Python version (3.7)

Hi, I have been trying to run the sample code. I have installed cmake and python3.7.
kindly share the instruction to run the sample code

LWPC code on raspberry pi

It's often helpful to know

  • operating system (Rasbian)
  • compiler & version (for compiled-source issues)
  • Python version (for Python issues)

I tried running the LWPC code on Raspbian OS. when I ran the code 'cmake --build build' the following error was generated.

Fatal error: Invalid character '$' at (1). use '-fdollar-ok' to allow it as an extension

please help!!!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.