amr-wind/utilities/diagnostics.cpp
//
// Print the maximum values of the pressure gradient components and pressure
//
Print the maximum values of the pressure gradient components and pressure
Print the maximum values of the pressure gradient components and pressure
void incflo::PrintMaxGp(int lev)
{
    BL_PROFILE("amr-wind::incflo::PrintMaxGp");
    amrex::Print() << "max(abs(gpx/gpy/gpz/p))  = " << grad_p()(lev).norm0(0)
                   << "  " << grad_p()(lev).norm0(1) << "  "
                   << grad_p()(lev).norm0(2) << "  " << pressure()(lev).norm0(0)
                   << "  " << std::endl;
}
void incflo :: PrintMaxGp ( int lev ) { BL_PROFILE ( " " ) ; amrex :: Print ( ) << " " << grad_p ( ) ( lev ) . norm0 ( 0 ) << " " << grad_p ( ) ( lev ) . norm0 ( 1 ) << " " << grad_p ( ) ( lev ) . norm0 ( 2 ) << " " << pressure ( ) ( lev ) . norm0 ( 0 ) << " " << std :: endl ; }
Print the maximum values of the pressure gradient components and pressure
Print the maximum values of the pressure gradient components and pressure