Definition at line 35 of file ConservativeSurfaceTransfer.H.
Public Member Functions | |
ConservativeSurfaceTransfer (meshBase *_source, meshBase *_target) | |
~ConservativeSurfaceTransfer () override | |
int | transferPointData (const std::vector< int > &arrayIDs=std::vector< int >(), const std::vector< std::string > &newnames=std::vector< std::string >()) |
Transfer point data with given ids from source to target. More... | |
int | transferPointData (int i, vtkSmartPointer< vtkGenericCell > genCell, std::vector< vtkSmartPointer< vtkDoubleArray >> &dasSource, std::vector< vtkSmartPointer< vtkDoubleArray >> &dasTarget, bool flip) |
int | writeOverlay () |
int | transferCellData (const std::vector< int > &arrayIDs, const std::vector< std::string > &newnames=std::vector< std::string >()) |
Transfer cell data with given ids from source to target. More... | |
int | transferCellData (int i, vtkSmartPointer< vtkGenericCell > genCell, std::vector< vtkSmartPointer< vtkDoubleArray >> &dasSourceToPoint, std::vector< vtkSmartPointer< vtkDoubleArray >> &dasTarget) |
int | run (const std::vector< std::string > &newnames=std::vector< std::string >()) |
Transfer all fields. More... | |
void | transfer (int arrayId) |
int | transferPointData (const std::vector< std::string > &arrayNames, const std::vector< std::string > &newnames=std::vector< std::string >()) |
Transfer point data with given field names from source to target. More... | |
int | transferCellData (const std::vector< std::string > &arrayNames, const std::vector< std::string > &newnames=std::vector< std::string >()) |
Transfer cell data with given field names from source to target. More... | |
void | setCheckQual (bool x) |
void | setContBool (bool x) |
Static Public Member Functions | |
static ConservativeSurfaceTransfer * | Create (meshBase *_source, meshBase *_target) |
static std::shared_ptr< ConservativeSurfaceTransfer > | CreateShared (meshBase *_source, meshBase *_target) |
Protected Attributes | |
meshBase * | source |
meshBase * | target |
vtkSmartPointer< vtkStaticCellLocator > | srcCellLocator = nullptr |
vtkSmartPointer< vtkStaticCellLocator > | trgCellLocator = nullptr |
vtkSmartPointer< vtkStaticPointLocator > | srcPointLocator = nullptr |
vtkSmartPointer< vtkStaticPointLocator > | trgPointLocator = nullptr |
bool | checkQual |
bool | continuous |
double | c2cTrnsDistTol |
Private Member Functions | |
void | extractDataFromVTK (vtkDataSet *data, std::vector< double > &coords, std::vector< int > &elems) |
Private Attributes | |
int | RFC_clear |
int | RFC_read |
int | RFC_write |
int | RFC_overlay |
int | RFC_transfer |
int | RFC_interp |
Inherits TransferBase.
Definition at line 45 of file ConservativeSurfaceTransfer.C.
|
inlineoverride |
Definition at line 39 of file ConservativeSurfaceTransfer.H.
|
inlinestatic |
Definition at line 44 of file ConservativeSurfaceTransfer.H.
Referenced by CreateShared().
|
inlinestatic |
Definition at line 50 of file ConservativeSurfaceTransfer.H.
References Create(), and TransferBase::transferPointData().
Referenced by NEM::DRV::TransferDriver::CreateTransferObject().
|
private |
Definition at line 242 of file ConservativeSurfaceTransfer.C.
Referenced by transferPointData(), and writeOverlay().
|
inlinevirtual |
newnames | optional array of names to be applied to transferred fields |
Implements TransferBase.
Definition at line 83 of file ConservativeSurfaceTransfer.H.
|
inlineinherited |
Definition at line 100 of file TransferBase.H.
|
inlineinherited |
Definition at line 102 of file TransferBase.H.
void ConservativeSurfaceTransfer::transfer | ( | int | arrayId | ) |
|
inlinevirtual |
arrayIDs | array of array ids to specify which fields to transfer |
newnames | optional array of names to be applied to transferred fields |
Implements TransferBase.
Definition at line 70 of file ConservativeSurfaceTransfer.H.
|
inline |
Definition at line 76 of file ConservativeSurfaceTransfer.H.
|
inherited |
arrayIDs | array of array names to specify which fields to transfer |
newnames | optional array of names to be applied to transferred fields |
Definition at line 47 of file TransferBase.C.
References TransferBase::getArrayIDs(), meshBase::getDataSet(), TransferBase::source, and TransferBase::transferCellData().
|
virtual |
arrayIDs | array of array ids to specify which fields to transfer |
newnames | optional array of names to be applied to transferred fields |
Implements TransferBase.
Definition at line 51 of file ConservativeSurfaceTransfer.C.
References data, extractDataFromVTK(), meshBase::getDataSet(), NEM::MSH::New(), RFC_clear, RFC_interp, RFC_overlay, RFC_read, RFC_transfer, RFC_write, TransferBase::source, and TransferBase::target.
|
inline |
Definition at line 60 of file ConservativeSurfaceTransfer.H.
|
inherited |
arrayIDs | array of array names to specify which fields to transfer |
newnames | optional array of names to be applied to transferred fields |
Definition at line 36 of file TransferBase.C.
References TransferBase::getArrayIDs(), meshBase::getDataSet(), TransferBase::source, and TransferBase::transferPointData().
int ConservativeSurfaceTransfer::writeOverlay | ( | ) |
Definition at line 174 of file ConservativeSurfaceTransfer.C.
References extractDataFromVTK(), meshBase::getDataSet(), RFC_overlay, RFC_write, TransferBase::source, and TransferBase::target.
|
protectedinherited |
Definition at line 116 of file TransferBase.H.
Referenced by FETransfer::transferCellData().
|
protectedinherited |
Definition at line 114 of file TransferBase.H.
Referenced by FETransfer::transferPointData().
|
protectedinherited |
Definition at line 115 of file TransferBase.H.
Referenced by FETransfer::transferCellData().
|
private |
Definition at line 96 of file ConservativeSurfaceTransfer.H.
Referenced by transferPointData().
|
private |
Definition at line 96 of file ConservativeSurfaceTransfer.H.
Referenced by transferPointData().
|
private |
Definition at line 96 of file ConservativeSurfaceTransfer.H.
Referenced by transferPointData(), and writeOverlay().
|
private |
Definition at line 96 of file ConservativeSurfaceTransfer.H.
Referenced by transferPointData().
|
private |
Definition at line 96 of file ConservativeSurfaceTransfer.H.
Referenced by transferPointData().
|
private |
Definition at line 96 of file ConservativeSurfaceTransfer.H.
Referenced by transferPointData(), and writeOverlay().
|
protectedinherited |
Definition at line 105 of file TransferBase.H.
Referenced by ConservativeVolumeTransfer::ConservativeVolumeTransfer(), ConservativeVolumeTransfer::constructSupermesh(), FETransfer::FETransfer(), FETransfer::getClosestSourceCell(), FETransfer::run(), TransferBase::transferCellData(), FETransfer::transferCellData(), transferPointData(), FETransfer::transferPointData(), TransferBase::transferPointData(), and writeOverlay().
|
protectedinherited |
Definition at line 108 of file TransferBase.H.
Referenced by FETransfer::FETransfer(), and FETransfer::getClosestSourceCell().
|
protectedinherited |
Definition at line 111 of file TransferBase.H.
Referenced by FETransfer::FETransfer().
|
protectedinherited |
Definition at line 106 of file TransferBase.H.
Referenced by ConservativeVolumeTransfer::ConservativeVolumeTransfer(), ConservativeVolumeTransfer::constructSupermesh(), FETransfer::FETransfer(), FETransfer::getClosestSourceCell(), FETransfer::run(), FETransfer::transferCellData(), transferPointData(), FETransfer::transferPointData(), and writeOverlay().
|
protectedinherited |
Definition at line 109 of file TransferBase.H.
Referenced by FETransfer::FETransfer(), and FETransfer::getClosestSourceCell().
|
protectedinherited |
Definition at line 112 of file TransferBase.H.
Referenced by FETransfer::FETransfer().