Giter Site home page Giter Site logo

ednn's Introduction

# Yifan Du             [email protected]
# Tamer A. Zaki        [email protected]
# Johns Hokpins University
# US patent submitted 03/08/2021


This main folder containts several realization of EDNN for different 
time dependent partial differential equations. In each folder there 
are four files: 

main.py : The main function for this problem. It contains the problem 
          definition and parameters, the high level initialization, 
          training and marching commands for the EDNN. 
ednn.py : The EDNN abstract class. It contains the detailed implementation
          of EDNN structure, training and marching. Because the 
          boundary conditions and constraints for different PDEs are 
          different, the ednn files are slightly different for these
          cases. 
rhs.py  : The evolutional PDE implementation. It containts The right
          -hand-side of different PDEs. These nonlinear differential 
          operators are implemented using tensorflow. 
marching_schemes : The time marching methods for the neural network 
                   parameters. The forward Euler and Runge-Kutta are 
                   implemented. 

To run one of these cases, first enter the corresponding directory. 

To train the network for initial condition, type: 
           
         python main.py 0

To march the trained network, type: 

         python main.py 1

ednn's People

Contributors

ydume avatar

Stargazers

FastPRszh avatar  avatar Xiaodong FENG avatar ZIQIANG YANG avatar Gregory Banyay avatar  avatar  avatar Stephen Qian avatar

Watchers

James Cloos avatar  avatar ZIQIANG YANG avatar

ednn's Issues

Cache files

There are some cache files (in pycache directories) included in the repo. These should be removed. Also, a gitignore file will help avoid adding such files in the future.

Channel flow example typos

The channel flow example doesn't run due to a few typos. In line 115, BNN should be EDNN. In lines 119-121, boundary_dir should be case_name.

Timestep values

The starting timestep in the marching loop is inconsistent. The value of n in the first iteration should be nrestart + 1, but in some examples is nrestart.

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.