style(NonlinearPowerIntegrator): removed old comments
This commit is contained in:
@@ -70,10 +70,6 @@ namespace polyMFEMUtils {
|
||||
} else {
|
||||
u_nl = std::pow(u_val, m_polytropicIndex);
|
||||
}
|
||||
// const double u_safe = std::max(u_val, 0.0);
|
||||
// const double u_nl = std::pow(u_safe, m_polytropicIndex);
|
||||
//
|
||||
// const double x2_u_nl = u_nl;
|
||||
|
||||
for (int i = 0; i < dof; i++){
|
||||
elvect(i) += shape(i) * u_nl * weight;
|
||||
@@ -121,10 +117,7 @@ namespace polyMFEMUtils {
|
||||
} else {
|
||||
d_u_nl = m_polytropicIndex * std::pow(u_val, m_polytropicIndex - 1.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;
|
||||
|
||||
|
||||
for (int i = 0; i < dof; i++) {
|
||||
for (int j = 0; j < dof; j++) {
|
||||
elmat(i, j) += shape(i) * d_u_nl * shape(j) * weight;
|
||||
|
||||
Reference in New Issue
Block a user