Comments (3)
we are going to need to modify each of the networks.
currently, they all take in X_k and return d(Y_k)/dt, and the Jacobian in terms of Y_k
We are going to convert these all to be in terms of X_k. If the net internally uses X_k, then we just take out any conversion to molar fractions.
If the net works with Y_k internally, then we will need to multiply dY/dt by A to get dX/dt. The Jacobian conversion is a little tricker, but can be seen in bs_jac.F90
as:
do n = 1, nspec_evolve
bs % burn_s % jac(n,:) = bs % burn_s % jac(n,:) * aion(n)
bs % burn_s % jac(:,n) = bs % burn_s % jac(:,n) * aionInv(n)
enddo
from microphysics.
this work is being done on the nomolar
branch
from microphysics.
actually... we can start by still having the networks return dY/dt, since in the *_rhs.f90 (for each integrator) we have a conversion like:
if (.not. integrate_molar_fraction) then
burn_state % ydot(1:nspec_evolve) = burn_state % ydot(1:nspec_evolve) * aion(1:nspec_evolve)
endif
from microphysics.
Related Issues (20)
- avoid "using namespace" in headers included by application codes HOT 1
- replace std::pow(x, N) with amrex::Math::powi<N>(x) for integer N HOT 1
- remove reinterpret_cast in rhs.H HOT 1
- use std::expected to handle burn failures? HOT 4
- Initializing pivot to zero in VODE causes out of boundary access in linpack functions HOT 7
- CUDA compilation slow after retry merge HOT 1
- try to make a ROCm big kernel reproducer HOT 8
- NSE + SDC update is missing some energy from weak interactions HOT 2
- add ideal gas EOS with tabulated mean molecular weight HOT 2
- add `-mllvm -amdgpu-function-calls=true` to CMake HIP build
- indexing issue in `is_jacobian_used()`? HOT 1
- Self-consistent NSE floating-point overflow HOT 1
- discussion: explore alternative object-oriented API
- remove NSE support from Strang
- sync self-consistent NSE update with tabular NSE HOT 4
- add second set of NSE criteria HOT 1
- change default retry tolerances to be same as normal HOT 2
- Runtime parameter docs don't include the namespace HOT 1
- consolidate subch networks HOT 1
- `chabrier1998` screening with quantum corrections can give enhancement factors < 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microphysics.