20 #ifndef LIBMESH_PARALLEL_OBJECT_H 21 #define LIBMESH_PARALLEL_OBJECT_H 25 #include "libmesh/libmesh_common.h" 26 #include "libmesh/parallel_only.h" 34 #undef parallel_object_only 35 #undef exceptionless_parallel_object_only 37 #define parallel_object_only() libmesh_parallel_only(this->comm()) 38 #define exceptionless_parallel_object_only() libmesh_exceptionless_parallel_only(this->comm()) 40 #define parallel_object_only() ((void) 0) 41 #define exceptionless_parallel_object_only() ((void) 0) 124 #endif // LIBMESH_PARALLEL_OBJECT_H ParallelObject(const Parallel::Communicator &comm_in)
Constructor.
communicator _communicator
processor_id_type rank() const
const Parallel::Communicator & comm() const
const Parallel::Communicator & _communicator
The libMesh namespace provides an interface to certain functionality in the library.
uint8_t processor_id_type
ParallelObject & operator=(const ParallelObject &libmesh_dbg_var(other))
"Assignment" operator.
processor_id_type size() const
processor_id_type n_processors() const
ParallelObject(const ParallelObject &other)
Copy Constructor.
An object whose state is distributed along a set of processors.
virtual ~ParallelObject()=default
Destructor.
processor_id_type processor_id() const