fix(poly): phi boundary values now coorespond to theta flux through polytrope surface
This commit is contained in:
@@ -97,6 +97,8 @@ namespace polyMFEMUtils {
|
||||
}
|
||||
|
||||
// Calculate the Jacobian
|
||||
|
||||
// TODO: Check for when theta ~ 0?
|
||||
const double u_safe = std::max(u_val, 0.0);
|
||||
const double d_u_nl = m_polytropicIndex * std::pow(u_safe, m_polytropicIndex - 1);
|
||||
const double x2_d_u_nl = d_u_nl;
|
||||
|
||||
Reference in New Issue
Block a user