COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
Go to the source code of this file.
Namespaces | |
cf3 | |
Top-level namespace for coolfluid. | |
cf3::common | |
Most basic kernel library. | |
cf3::common::PE | |
Classes offering a MPI interface for COOLFluiD. | |
cf3::common::PE::detail | |
Default of get_mpi_datatype_impl which returns nullptr. | |
Macros | |
#define | MPI_CUSTOM_OPERATION(name, commutative, expression) |
Functions | |
template<typename T , typename Op > | |
Operation | get_mpi_op_impl () |
MPI_CUSTOM_OPERATION (max, true,*out=*in > *out?*in:*out) | |
BUILT-IN OPERATIONS. More... | |
MPI_CUSTOM_OPERATION (min, true,*out=*in< *out?*in:*out) | |
MPI_CUSTOM_OPERATION (plus, true,*out=*in+*out) | |
MPI_CUSTOM_OPERATION (multiplies, true,*out=*in **out) | |
MPI_CUSTOM_OPERATION (logical_and, true,*out=*in &&*out) | |
MPI_CUSTOM_OPERATION (logical_or, true,*out=*in||*out) | |
MPI_CUSTOM_OPERATION (logical_xor, true,*out=!*in^!*out) | |
MPI_CUSTOM_OPERATION (bitwise_and, true,*out=*in &*out) | |
MPI_CUSTOM_OPERATION (bitwise_or, true,*out=*in|*out) | |
MPI_CUSTOM_OPERATION (bitwise_xor, true,*out=*in^*out) | |
MPI_CUSTOM_OPERATION (customplus, true,*out=*in+*out) | |
EXAMPLE ON HOW TO IMPLEMENT A CUSTOM OPERATION. More... | |
Definition in file operations.hpp.
#define MPI_CUSTOM_OPERATION | ( | name, | |
commutative, | |||
expression | |||
) |
Macro for defining custom operations. It hides defining a class. An example for expression defining the plus operation: out = *out + *in, note that in and out are of type T.
name | is the name of the class |
commutative | boolean variable describing if operation is commutative across processors or not (if not sure, use false). |
expression | defining the atomic operation, names in and out are hardcoded. |
Definition at line 75 of file operations.hpp.
Send comments to: COOLFluiD Web Admin |