Commit Graph
4 Commits
Author SHA1 Message Date
Will Pazner 57b9d5a0b3 Move global flop_count to mfem::internal namespace 2019-05-30 16:51:34 -07:00
Will Pazner 0aa0e36139 Fix issue #938
Global variable defined in tconfig.hpp would cause duplicate
symbol errors when linking.
2019-05-30 16:38:09 -07:00
Veselin Dobrev 04e17853f5 Add a convenience function 'MakeParFilename'.
Tweak the output of MFEM_ASSERT and MFEM_VERIFY.
2018-01-08 23:26:53 -08:00
Veselin Dobrev 27ffe35369 Merged general/globalcomm.[ch]pp and general/globalostream.[ch]pp into
general/globals.[ch].

Renamed class WrappedOStream to OutStream and use a different
implementation in order to support the case when the OutStream is passed
as a parameter of type std::ostream.

In class MPI_Session, added an MPI_Comm parameter to both constructors,
with a default value of MPI_COMM_WORLD.

Hide the global variable MFEM_COMM_WORLD and allow access (read and
write) with global functions: GetGlobalMPI_Comm() and
SetGlobalMPI_Comm() - in the future, we may want to perform some tasks
when changing the "global" MPI communicator.

In mfem_error(), use GetGlobalMPI_Comm() instead of MPI_COMM_WORLD.

Minor formatting changes and #include reordering.
2017-09-29 15:52:51 -07:00