Changeset d13e27 for src/commands
- Timestamp:
- Mar 29, 2013, 5:03:13 PM (13 years ago)
- Children:
- f57182
- Parents:
- 5ba22b
- Location:
- src/commands
- Files:
-
- 3 edited
-
com_check_relative_residual.cpp (modified) (1 diff)
-
com_initialize_residual_norm.cpp (modified) (1 diff)
-
com_print_residual_norm.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/commands/com_check_relative_residual.cpp
r5ba22b rd13e27 56 56 const vmg_float rel_res = std::fabs(res / init_res); 57 57 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); 61 59 62 60 MPE_EVENT_END() -
src/commands/com_initialize_residual_norm.cpp
r5ba22b rd13e27 49 49 new ObjectStorage<vmg_float>(arguments[0], residual); 50 50 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); 54 52 55 53 MPE_EVENT_END() -
src/commands/com_print_residual_norm.cpp
r5ba22b rd13e27 47 47 Request Run(Command::argument_vector arguments) 48 48 { 49 50 #ifdef OUTPUT_DEBUG 49 51 MPE_EVENT_BEGIN() 50 52 … … 55 57 if ((*sol)(sol->MaxLevel()).IsActive()) { 56 58 vmg_float residual = comm->ComputeResidualNorm(*sol, *rhs); 57 comm->Print StringOnce("Residual: %e", residual);59 comm->PrintOnce(Debug, "Residual: %e", residual); 58 60 } 59 61 60 62 MPE_EVENT_END() 63 #endif 61 64 62 65 return Continue;
Note:
See TracChangeset
for help on using the changeset viewer.
