#include <parallel_algebra.h>
|
static void | vector_max (void *invec, void *inoutvec, int *len, MPI_Datatype *) |
|
static void | vector_min (void *invec, void *inoutvec, int *len, MPI_Datatype *) |
|
static void | vector_sum (void *invec, void *inoutvec, int *len, MPI_Datatype *) |
|
static MPI_Op | max () |
|
static MPI_Op | min () |
|
static MPI_Op | sum () |
|
template<>
class TIMPI::OpFunction< libMesh::Point >
Definition at line 383 of file parallel_algebra.h.
◆ max()
Definition at line 85 of file parallel_algebra.h.
89 static MPI_Op _static_op;
bool _is_initialized
Flag that tells if init() has been called.
static void vector_max(void *invec, void *inoutvec, int *len, MPI_Datatype *)
◆ min()
Definition at line 102 of file parallel_algebra.h.
106 static MPI_Op _static_op;
static void vector_min(void *invec, void *inoutvec, int *len, MPI_Datatype *)
bool _is_initialized
Flag that tells if init() has been called.
◆ sum()
Definition at line 119 of file parallel_algebra.h.
123 static MPI_Op _static_op;
static void vector_sum(void *invec, void *inoutvec, int *len, MPI_Datatype *)
bool _is_initialized
Flag that tells if init() has been called.
◆ vector_max()
Definition at line 58 of file parallel_algebra.h.
60 V *in =
static_cast<V *
>(invec);
61 V *inout =
static_cast<V *
>(inoutvec);
62 for (
int i=0; i != *len; ++i)
63 for (
int d=0; d != LIBMESH_DIM; ++d)
64 inout[i](d) = std::max(in[i](d), inout[i](d));
◆ vector_min()
Definition at line 67 of file parallel_algebra.h.
69 V *in =
static_cast<V *
>(invec);
70 V *inout =
static_cast<V *
>(inoutvec);
71 for (
int i=0; i != *len; ++i)
72 for (
int d=0; d != LIBMESH_DIM; ++d)
73 inout[i](d) = std::min(in[i](d), inout[i](d));
◆ vector_sum()
Definition at line 76 of file parallel_algebra.h.
78 V *in =
static_cast<V *
>(invec);
79 V *inout =
static_cast<V *
>(inoutvec);
80 for (
int i=0; i != *len; ++i)
81 for (
int d=0; d != LIBMESH_DIM; ++d)
82 inout[i](d) += in[i](d);
The documentation for this class was generated from the following file: