17 #ifndef MB_REMAPPER_HPP
18 #define MB_REMAPPER_HPP
28 #ifdef MOAB_HAVE_TEMPESTREMAP
29 #include "netcdfcpp.h"
30 #include "TempestRemapAPI.h"
32 #error "This tool depends on TempestRemap library. Reconfigure using --with-tempestremap"
92 rval = m_pcomm->exchange_ghost_cells( 2, 0, 1, 0,
true,
true, &set_with_ghosts );
MB_CHK_ERR( rval );
93 for(
int i = 2; i <= ngh_layers; i++ )
95 rval = m_pcomm->correct_thin_ghost_layers();
MB_CHK_ERR( rval );
96 rval = m_pcomm->exchange_ghost_cells( 2, 0, i, 0,
true,
true, &set_with_ghosts );
MB_CHK_ERR( rval );
110 rval = m_pcomm->exchange_tags( doftag, quads );
MB_CHK_ERR( rval );
125 std::vector< int >& metadata,
126 const char* readopts = 0 )
129 std::string opts =
"";
133 opts = opts +
";" + std::string( readopts );
135 opts = std::string( readopts );
138 if( !m_pcomm->rank() ) std::cout <<
"Reading file (" << filename <<
") with options = [" << opts <<
"]\n";
140 const std::string opts = std::string( ( readopts ? readopts :
"" ) );
141 std::cout <<
"Reading file (" << filename <<
") with options = [" << opts <<
"]\n";
149 rectilinearTag !=
nullptr )
155 metadata.push_back( dimSizes[0] );
156 metadata.push_back( dimSizes[1] );
157 metadata.push_back( dimSizes[2] );