https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
StochasticToolsUtils.h File Reference

Go to the source code of this file.

Classes

struct  StochasticTools::canDefaultGather< T >
 Custom type trait that has a value of true for types that can be gathered. More...
 
struct  StochasticTools::canDefaultGather< std::vector< T > >
 
struct  StochasticTools::canStochasticGather< T >
 
struct  StochasticTools::canStochasticGather< std::vector< T > >
 

Namespaces

namespace  StochasticTools
 Enum for batch type in stochastic tools MultiApp.
 

Functions

template<typename T >
void StochasticTools::stochasticGather (const libMesh::Parallel::Communicator &, processor_id_type, T &)
 
template<typename T , typename std::enable_if< canDefaultGather< std::vector< T > >::value, int >::type = 0>
void StochasticTools::stochasticGather (const libMesh::Parallel::Communicator &comm, processor_id_type root_id, std::vector< T > &val)
 
template<typename T , typename std::enable_if< canStochasticGather< std::vector< std::vector< T > > >::value, int >::type = 0>
void StochasticTools::stochasticGather (const libMesh::Parallel::Communicator &comm, processor_id_type root_id, std::vector< std::vector< T > > &val)
 
template<typename T >
void StochasticTools::stochasticGather (const libMesh::Parallel::Communicator &comm, processor_id_type root_id, std::vector< std::basic_string< T > > &val)
 
template<typename A >
void StochasticTools::stochasticGather (const libMesh::Parallel::Communicator &comm, processor_id_type root_id, std::vector< bool, A > &val)
 
template<typename T >
void StochasticTools::stochasticAllGather (const libMesh::Parallel::Communicator &, T &)
 
template<typename T , typename std::enable_if< canDefaultGather< std::vector< T > >::value, int >::type = 0>
void StochasticTools::stochasticAllGather (const libMesh::Parallel::Communicator &comm, std::vector< T > &val)
 
template<typename T , typename std::enable_if< canStochasticGather< std::vector< std::vector< T > > >::value, int >::type = 0>
void StochasticTools::stochasticAllGather (const libMesh::Parallel::Communicator &comm, std::vector< std::vector< T > > &val)
 
template<typename T >
void StochasticTools::stochasticAllGather (const libMesh::Parallel::Communicator &comm, std::vector< std::basic_string< T > > &val)
 
template<typename A >
void StochasticTools::stochasticAllGather (const libMesh::Parallel::Communicator &comm, std::vector< bool, A > &val)
 
template<typename T >
void StochasticTools::inplaceSort (std::vector< T > &values)
 
template<typename T >
void StochasticTools::inplaceSort (std::vector< std::vector< T > > &values)
 
template<typename T >
std::vector< std::vector< T > > StochasticTools::reshapeVector (const std::vector< T > &vec, std::size_t n, bool row_major)
 Reshape a vector into matrix-like vector of vectors.