|
svFSIplus
|
The cmType class stores data and defines methods used for mpi communication. More...
#include <CmMod.h>
Public Member Functions | |
| void | bcast (const CmMod &cm_mod, bool *data) const |
| bcast bool. More... | |
| void | bcast (const CmMod &cm_mod, std::vector< bool > &data) const |
| bcast bool array More... | |
| void | bcast (const CmMod &cm_mod, std::string &data) const |
| bcast char* More... | |
| void | bcast (const CmMod &cm_mod, double *data) const |
| bcast double More... | |
| void | bcast (const CmMod &cm_mod, Vector< double > &data, const std::string &name="") const |
| bcast double Vector More... | |
| void | bcast (const CmMod &cm_mod, Array< double > &data, const std::string &name="") const |
| bcast double array More... | |
| void | bcast (const CmMod &cm_mod, int *data) const |
| bcast int More... | |
| void | bcast (const CmMod &cm_mod, Vector< int > &data) const |
| bcast int array More... | |
| template<typename T > | |
| void | bcast_enum (const CmMod &cm_mod, T *data) const |
| template<typename T > | |
| void | bcast_prop (const CmMod &cm_mod, std::map< T, double > &props) const |
| cm_mod::MpiCommWorldType | com () const |
| int | idcm () const |
| int | id () |
| bool | mas (const CmMod &cm_mod) const |
| void | new_cm (decltype(MPI_COMM_WORLD) comHandle) |
| int | np () const |
| int | nT () |
| template<typename T > | |
| T | reduce (const CmMod &cm_mod, T u, MPI_Op op=MPI_SUM) const |
| template<typename T > | |
| Vector< T > | reduce (const CmMod &cm_mod, Vector< T > &u, MPI_Op op=MPI_SUM) const |
| bool | seq () const |
| bool | slv (const CmMod &cm_mod) const |
| int | tF (const CmMod &cm_mod) const |
Public Attributes | |
| decltype(MPI_COMM_WORLD) | cHndl |
| int | taskId = 0 |
| int | nThreads = 0 |
| int | nProcs = 0 |
The cmType class stores data and defines methods used for mpi communication.
| void cmType::bcast | ( | const CmMod & | cm_mod, |
| Array< double > & | data, | ||
| const std::string & | name = "" |
||
| ) | const |
bcast double array
| void cmType::bcast | ( | const CmMod & | cm_mod, |
| bool * | data | ||
| ) | const |
bcast bool.
| void cmType::bcast | ( | const CmMod & | cm_mod, |
| double * | data | ||
| ) | const |
bcast double
| void cmType::bcast | ( | const CmMod & | cm_mod, |
| int * | data | ||
| ) | const |
bcast int
| void cmType::bcast | ( | const CmMod & | cm_mod, |
| std::string & | data | ||
| ) | const |
bcast char*
| void cmType::bcast | ( | const CmMod & | cm_mod, |
| std::vector< bool > & | data | ||
| ) | const |
bcast bool array
| void cmType::bcast | ( | const CmMod & | cm_mod, |
| Vector< double > & | data, | ||
| const std::string & | name = "" |
||
| ) | const |
bcast double Vector