src/utilities/diagnostics.cpp
//
// Print the maximum values of the velocity components and velocity divergence
//
Print the maximum values of the velocity components and velocity divergence
Print the maximum values of the velocity components and velocity divergence
void incflo::PrintMaxVel(int lev)
{
#if 0
    amrex::Print() << "max(abs(u/v/w/divu))  = "
                   << Norm(vel , lev, 0, 0) << "  "
           << Norm(vel , lev, 1, 0) << "  "
                   << Norm(vel , lev, 2, 0) << "  "
                   << Norm(divu, lev, 0, 0) << "  " << std::endl;
    if (ntrac > 0)
    {
       for (int i = 0; i < ntrac; i++)
          amrex::Print() << "max tracer" << i << " = " << Norm(tracer,lev,i,0) << std::endl;;
    }
#endif
}
void incflo :: PrintMaxVel ( int lev ) { #if 0 amrex :: Print ( ) << " " << Norm ( vel , lev , 0 , 0 ) << " " << Norm ( vel , lev , 1 , 0 ) << " " << Norm ( vel , lev , 2 , 0 ) << " " << Norm ( divu , lev , 0 , 0 ) << " " << std :: endl ; if ( ntrac > 0 ) { for ( int i = 0 ; i < ntrac ; i ++ ) amrex :: Print ( ) << " " << i << " " << Norm ( tracer , lev , i , 0 ) << std :: endl ; ; } #endif }
Print the maximum values of the velocity components and velocity divergence
Print the maximum values of the velocity components and velocity divergence
// xxxxx TODO