|
Field3D
|
Contains utility functions for MAC fields, such as conversion to cell-centered fields. More...
Go to the source code of this file.
Functions | |
| template<class Field_T , class Data_T > | |
| void | convertCellCenteredToMAC (typename Field_T::Ptr cc, typename MACField< Data_T >::Ptr mac) |
| Converts the cell-centered field to a MAC field. More... | |
| template<class Data_T , class Field_T > | |
| FIELD3D_NAMESPACE_OPEN void | convertMACToCellCentered (typename MACField< Data_T >::Ptr mac, typename Field_T::Ptr cc) |
| Converts the MAC field to a cell-centered field. More... | |
| template<class Data_T , class Field_T > | |
| void | convertMACToCellCentered (typename MACField< Data_T >::Ptr mac, typename Field_T::Ptr cc) |
| Sets up the cell-centered target field given a MAC field. More... | |
Contains utility functions for MAC fields, such as conversion to cell-centered fields.
Definition in file MACFieldUtil.h.
| FIELD3D_NAMESPACE_OPEN void convertMACToCellCentered | ( | typename MACField< Data_T >::Ptr | mac, |
| typename Field_T::Ptr | cc | ||
| ) |
Converts the MAC field to a cell-centered field.
Converts the MAC field to a cell-centered field.
Definition at line 78 of file MACFieldUtil.h.
References FieldRes::dataWindow(), FieldRes::extents(), FieldRes::mapping(), and MACField< Data_T >::value().
| void convertCellCenteredToMAC | ( | typename Field_T::Ptr | cc, |
| typename MACField< Data_T >::Ptr | mac | ||
| ) |
Converts the cell-centered field to a MAC field.
Definition at line 132 of file MACFieldUtil.h.
References FieldRes::dataWindow(), FieldRes::extents(), FIELD3D_EXTRACT_SHRT, FieldRes::mapping(), FieldRes::setMapping(), ResizableField< Data_T >::setSize(), MACField< Data_T >::u(), MACField< Data_T >::v(), and MACField< Data_T >::w().
| void convertMACToCellCentered | ( | typename MACField< Data_T >::Ptr | mac, |
| typename Field_T::Ptr | cc | ||
| ) |
Sets up the cell-centered target field given a MAC field.
Converts the MAC field to a cell-centered field.
Definition at line 78 of file MACFieldUtil.h.
References FieldRes::dataWindow(), FieldRes::extents(), FieldRes::mapping(), and MACField< Data_T >::value().