Public Member Functions | |
DECOptions () | |
DECOptions (const DECOptions &deco) | |
AllToAllMethod | getAllToAllMethod () const |
bool | getAsynchronous () const |
bool | getForcedRenormalization () const |
const std::string & | getMethod () const |
TimeInterpolationMethod | getTimeInterpolationMethod () const |
void | setAllToAllMethod (AllToAllMethod sp) |
void | setAsynchronous (bool dr) |
void | setForcedRenormalization (bool dr) |
void | setMethod (const char *m) |
void | setTimeInterpolationMethod (TimeInterpolationMethod it) |
Protected Attributes | |
AllToAllMethod | _allToAllMethod |
bool | _asynchronous |
bool | _forcedRenormalization |
std::string | _method |
TimeInterpolationMethod | _timeInterpolationMethod |
This class groups the various options accepted by all DECs (which all inherit from DECOptions).
The following code excerpt shows how to set options on a DEC :
MEDCoupling::DECOptions::DECOptions | ( | ) |
MEDCoupling::DECOptions::DECOptions | ( | const DECOptions & | deco | ) |
References _allToAllMethod, _asynchronous, _forcedRenormalization, _method, and _timeInterpolationMethod.
const std::string& MEDCoupling::DECOptions::getMethod | ( | ) | const |
References _method.
Referenced by MEDCoupling::DisjointDEC::compareFieldAndMethod().
void MEDCoupling::DECOptions::setMethod | ( | const char * | m | ) |
Set interpolation method. Defaults to "P0".
References _method.
TimeInterpolationMethod MEDCoupling::DECOptions::getTimeInterpolationMethod | ( | ) | const |
References _timeInterpolationMethod.
void MEDCoupling::DECOptions::setTimeInterpolationMethod | ( | TimeInterpolationMethod | it | ) |
Set time interpolation method. Default to WithoutTimeInterp.
References _timeInterpolationMethod.
bool MEDCoupling::DECOptions::getForcedRenormalization | ( | ) | const |
References _forcedRenormalization.
Referenced by MEDCoupling::InterpKernelDEC::recvData(), and MEDCoupling::InterpKernelDEC::sendData().
void MEDCoupling::DECOptions::setForcedRenormalization | ( | bool | dr | ) |
Force renormalization of the field after it has been received so that the total sum of the field values are the same on both the sending and the receiving side. Defaults to false.
References _forcedRenormalization.
bool MEDCoupling::DECOptions::getAsynchronous | ( | ) | const |
References _asynchronous.
void MEDCoupling::DECOptions::setAsynchronous | ( | bool | dr | ) |
Switch to asynchronous data transfer mode. Default is false.
References _asynchronous.
AllToAllMethod MEDCoupling::DECOptions::getAllToAllMethod | ( | ) | const |
References _allToAllMethod.
void MEDCoupling::DECOptions::setAllToAllMethod | ( | AllToAllMethod | sp | ) |
Set the broadcast method for synchronisation processes. Default to Native.
References _allToAllMethod.
|
protected |
Referenced by DECOptions(), getMethod(), setMethod(), and MEDCoupling::InterpKernelDEC::synchronize().
|
protected |
Referenced by DECOptions(), getAsynchronous(), and setAsynchronous().
|
protected |
Referenced by DECOptions(), getTimeInterpolationMethod(), and setTimeInterpolationMethod().
|
protected |
Referenced by DECOptions(), getAllToAllMethod(), and setAllToAllMethod().
|
protected |
Referenced by DECOptions(), getForcedRenormalization(), and setForcedRenormalization().