Skip to content

Commit

Permalink
don't use cout
Browse files Browse the repository at this point in the history
  • Loading branch information
lindsayad committed Jan 9, 2025
1 parent 87162e5 commit f53dacd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions unit/src/TestNonLinearIntegrators.C
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "libmesh/ignore_warnings.h"
#include "mfem.hpp"
#include "libmesh/restore_warnings.h"
#include "Moose.h"

class VectorPowerLawNLFIntegrator : public mfem::NonlinearFormIntegrator
{
Expand Down Expand Up @@ -240,12 +241,12 @@ TEST(CheckData, NonlinearIntegratorTest)

int my_rank;
MPI_Comm_rank(h_curl_fe_space.GetComm(), &my_rank);
std::cout << "Starting on rank:" << my_rank << std::endl;
Moose::out << "Starting on rank:" << my_rank << std::endl;

// nlf_test.Mult(lf_tdofs, gf_tdofs);
newton_solver.Mult(lf_tdofs, gf_tdofs);
MFEM_VERIFY(newton_solver.GetConverged(), "Newton Solver did not converge.");
std::cout << "Finished on rank:" << my_rank << std::endl;
Moose::out << "Finished on rank:" << my_rank << std::endl;
gf.Distribute(gf_tdofs);
}

Expand Down

0 comments on commit f53dacd

Please sign in to comment.