https://github.com/38/soft
Symbolic Formula Translation Library
https://github.com/38/soft
Last synced: over 1 year ago
JSON representation
Symbolic Formula Translation Library
- Host: GitHub
- URL: https://github.com/38/soft
- Owner: 38
- License: gpl-2.0
- Created: 2015-02-24T01:16:36.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-20T17:32:12.000Z (over 11 years ago)
- Last Synced: 2025-01-24T20:34:36.773Z (over 1 year ago)
- Language: C++
- Homepage:
- Size: 387 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#What is SOFT?
libsoft is a domain-specific language embeded in C++ implemented by C++ templates
for numerical PED solving.
It provides programmer a high-level interface to describe the mathematical formulas such as
```f <<= Div< X >(g)```
which means assign the divergence of g on the X direction to the field f.
libsoft generates the executable code in compile time for multiple devices.
The library also hides the device details to the programmer.
#How to build the library?
Surprisingly, you do not need to build the library. The library does not have any
source code files, just include the headers and go ahead!
#Where can I find examples?
Currently, a demo for 2D heat equation is avaiable in examples/heat\_equation/