fix(poly): bug fixing in block form
currently derivitive constraint is not working
This commit is contained in:
@@ -60,7 +60,8 @@ namespace polyMFEMUtils {
|
||||
double u_safe = std::max(u_val, 0.0);
|
||||
double u_nl = std::pow(u_safe, m_polytropicIndex);
|
||||
|
||||
double coeff_val = m_coeff.Eval(Trans, ip);
|
||||
// double coeff_val = m_coeff.Eval(Trans, ip);
|
||||
double coeff_val = 1.0;
|
||||
double x2_u_nl = coeff_val * u_nl;
|
||||
|
||||
for (int i = 0; i < dof; i++){
|
||||
@@ -94,7 +95,8 @@ namespace polyMFEMUtils {
|
||||
for (int j = 0; j < dof; j++) {
|
||||
u_val += elfun(j) * shape(j);
|
||||
}
|
||||
double coeff_val = m_coeff.Eval(Trans, ip);
|
||||
// double coeff_val = m_coeff.Eval(Trans, ip);
|
||||
double coeff_val = 1.0;
|
||||
|
||||
|
||||
// Calculate the Jacobian
|
||||
|
||||
Reference in New Issue
Block a user