Example #1
0
 /// Computes the inf-norm of pressure_increment_.
 double CompressibleTpfa::incrementNorm() const
 {
     return infnorm(pressure_increment_.begin(), pressure_increment_.end());
 }
Example #2
0
 /// Computes the inf-norm of pressure_increment_.
 double IncompTpfa::incrementNorm() const
 {
     return infnorm(h_->x, h_->x + h_->A->m);
 }
Example #3
0
 /// Computes the inf-norm of the residual.
 double CompressibleTpfa::residualNorm() const
 {
     const int ndof = pressure_increment_.size();
     return infnorm(h_->F, h_->F + ndof);
 }
Example #4
0
 /// Computes the inf-norm of the residual.
 double IncompTpfa::residualNorm() const
 {
     return infnorm(h_->b, h_->b + h_->A->m);
 }