libMesh
Classes | Namespaces | Typedefs | Functions
parallel_hilbert.h File Reference

Go to the source code of this file.

Classes

class  TIMPI::StandardType< Hilbert::HilbertIndices >
 

Namespaces

 TIMPI
 
 libMesh
 The libMesh namespace provides an interface to certain functionality in the library.
 
 libMesh::Parallel
 
 Hilbert
 

Typedefs

typedef std::pair< Hilbert::HilbertIndices, unique_id_type > libMesh::Parallel::DofObjectKey
 

Functions

std::ostream & Hilbert::operator<< (std::ostream &os, const libMesh::Parallel::DofObjectKey &hilbert_pair)
 
void dofobjectkey_max_op (libMesh::Parallel::DofObjectKey *in, libMesh::Parallel::DofObjectKey *inout, int *len, void *)
 
void dofobjectkey_min_op (libMesh::Parallel::DofObjectKey *in, libMesh::Parallel::DofObjectKey *inout, int *len, void *)
 

Function Documentation

◆ dofobjectkey_max_op()

void dofobjectkey_max_op ( libMesh::Parallel::DofObjectKey in,
libMesh::Parallel::DofObjectKey inout,
int len,
void *   
)
inline

Definition at line 112 of file parallel_hilbert.h.

Referenced by libMesh::Parallel::Sort< KeyType, IdxType >::binsort().

115 {
116  // When (*in <= *inout), then inout already contains max(*in,*inout)
117  // Otherwise we need to copy from in.
118  for (int i=0; i<*len; i++, in++, inout++)
119  if (*inout < *in)
120  *inout = *in;
121 }

◆ dofobjectkey_min_op()

void dofobjectkey_min_op ( libMesh::Parallel::DofObjectKey in,
libMesh::Parallel::DofObjectKey inout,
int len,
void *   
)
inline

Definition at line 124 of file parallel_hilbert.h.

Referenced by libMesh::Parallel::Sort< KeyType, IdxType >::binsort().

127 {
128  // When (*in >= *inout), then inout already contains min(*in,*inout)
129  // Otherwise we need to copy from in.
130  for (int i=0; i<*len; i++, in++, inout++)
131  if (*in < *inout)
132  *inout = *in;
133 }