Changeset d13e27 for src/commands


Ignore:
Timestamp:
Mar 29, 2013, 5:03:13 PM (13 years ago)
Author:
Julian Iseringhausen <isering@…>
Children:
f57182
Parents:
5ba22b
Message:

vmg: Work on output verbosity.

git-svn-id: https://svn.version.fz-juelich.de/scafacos/trunk@2845 5161e1c8-67bf-11de-9fd5-51895aff932f

Location:
src/commands
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/commands/com_check_relative_residual.cpp

    r5ba22b rd13e27  
    5656    const vmg_float rel_res = std::fabs(res / init_res);
    5757
    58 #ifdef DEBUG_OUTPUT
    59     MG::GetComm()->PrintStringOnce("Relative residual: %e", rel_res);
    60 #endif /* DEBUG_OUTPUT */
     58    MG::GetComm()->PrintOnce(Info, "Relative residual: %e", rel_res);
    6159
    6260    MPE_EVENT_END()
  • src/commands/com_initialize_residual_norm.cpp

    r5ba22b rd13e27  
    4949    new ObjectStorage<vmg_float>(arguments[0], residual);
    5050
    51 #ifdef DEBUG_OUTPUT
    52     MG::GetComm()->PrintStringOnce("Initial residual: %e", residual);
    53 #endif /* DEBUG_OUTPUT */
     51    MG::GetComm()->PrintOnce(Info, "Initial residual: %e", residual);
    5452
    5553    MPE_EVENT_END()
  • src/commands/com_print_residual_norm.cpp

    r5ba22b rd13e27  
    4747  Request Run(Command::argument_vector arguments)
    4848  {
     49
     50#ifdef OUTPUT_DEBUG
    4951    MPE_EVENT_BEGIN()
    5052
     
    5557    if ((*sol)(sol->MaxLevel()).IsActive()) {
    5658      vmg_float residual = comm->ComputeResidualNorm(*sol, *rhs);
    57       comm->PrintStringOnce("Residual: %e", residual);
     59      comm->PrintOnce(Debug, "Residual: %e", residual);
    5860    }
    5961
    6062    MPE_EVENT_END()
     63#endif
    6164
    6265    return Continue;
Note: See TracChangeset for help on using the changeset viewer.