00001
00002
00008 #if !defined(__geom_mesh_iss_transfer_h__)
00009 #define __geom_mesh_iss_transfer_h__
00010
00011 #include "ISS_Interpolate.h"
00012 #include "IndSimpSet.h"
00013
00014 #include <iostream>
00015 #include <string>
00016
00017 #include <cassert>
00018
00019 BEGIN_NAMESPACE_GEOM
00020
00021
00027
00029
00047 template<int N, int M, bool A, typename T, typename V, typename IS,
00048 class PointArray, class IndexArray>
00049 void
00050 transferIndices(const IndSimpSet<N,M,A,T,V,IS>& mesh,
00051 const PointArray& points,
00052 IndexArray* indices);
00053
00054
00056
00074 template<int N, int M, bool A, typename T, typename V, typename IS,
00075 class SourceFieldArray, class PointArray, class TargetFieldArray>
00076 void
00077 transfer(const IndSimpSet<N,M,A,T,V,IS>& mesh,
00078 const SourceFieldArray& sourceFields,
00079 const PointArray& points,
00080 TargetFieldArray* targetFields);
00081
00083
00084 END_NAMESPACE_GEOM
00085
00086 #define __geom_mesh_iss_transfer_ipp__
00087 #include "transfer.ipp"
00088 #undef __geom_mesh_iss_transfer_ipp__
00089
00090 #endif