LLNL / GPLaSDI

http://software.llnl.gov/GPLaSDI/
MIT License
32 stars 3 forks source link

Physics class + Lassen compatibility #2

Closed dreamer2368 closed 4 months ago

dreamer2368 commented 4 months ago

Lassen compatibility

Some prerequisites are down-graded to be compatible with Lassen OpenCE-1.9.1. The burgers 1d equation example is working on LC Lassen. Installation procedure is added in README.

Physics class

FOM simulation solver is now modularized into Physics class. Currently only Burgers1d class is provided as a derived class.

Main member variables:

Main member functions:

Refactoring physics from other classes

InputParser class

InputParser parses a dict, and provides a convenient interface to search multi-level keys, with a capability of default value and data type enforcement.

Activation function input for Autoencoder

At its initialization, autoencoder now looks for the option for activation function. Currently sigmoid and softplus are available. By default it take sigmoid.

chldkdtn commented 4 months ago

@dreamer2368 This looks great. Can you add in README file the instruction of running the new codes?

chldkdtn commented 4 months ago

@xiaolong7 and @TranApril if you can also keep track of this re-factoring of GPLaSDI code, that would be wonderful.

dreamer2368 commented 4 months ago

@dreamer2368 This looks great. Can you add in README file the instruction of running the new codes?

README is now updated.

dreamer2368 commented 4 months ago

@chldkdtn , Zoe was also able to run this branch on Lassen using opence 1.9.1 and visualize the results. Should we merge this branch now?

chldkdtn commented 4 months ago

@chldkdtn , Zoe was also able to run this branch on Lassen using opence 1.9.1 and visualize the results. Should we merge this branch now?

Okay, let's merge it now. @andersonw1 can catch up on this later.