9 std::string
example = TestDir +
"unittest/io/homme3x3458.t.3.nc";
10 std::string
conn_fname = TestDir +
"unittest/io/HommeMapping.nc";
30 int main(
int argc,
char* argv[] )
35 int fail = MPI_Init( &argc, &argv );
38 argv[0] = argv[argc - argc];
51 fail = MPI_Finalize();
84 opts += std::string(
";VARIABLE=T" );
113 const double eps = 0.0001;
114 double* data = (
double*)Tbuf;
132 opts += std::string(
";TIMESTEP=1" );
152 std::string orig, opts;
155 opts = orig + std::string(
";TIMESTEP=0" );
166 opts = orig + std::string(
";TIMESTEP=1;NOMESH" );
182 std::string orig, opts;
185 opts = orig + std::string(
";NOMESH;VARIABLE=" );
188 opts = orig + std::string(
";VARIABLE=;TIMESTEP=0" );
196 opts = orig + std::string(
";VARIABLE=T;TIMESTEP=0;NOMESH" );
205 opts = orig + std::string(
";TIMESTEP=1;NOMESH" );
220 std::string orig, opts;
223 opts = orig + std::string(
";NOMESH;VARIABLE=" );
226 std::string tag_name;
229 const void* var_data;
241 double* lev_val = (
double*)var_data;
242 const double eps = 1e-10;
256 int* ncol_val = (
int*)var_data;
276 lev_val = (
double*)var_data;
290 ncol_val = (
int*)var_data;
306 opts +=
";VARIABLE=T;GATHER_SET=0";
308 opts +=
";PARALLEL_RESOLVE_SHARED_ENTS";
316 Range verts, verts_owned;
329 assert( gather_set != 0 );
337 pcomm->
gather_data( verts_owned, Ttag0, gid_tag, gather_set, 0 );
342 Range gather_set_verts;
347 double T0_val[4 *
levels];
348 EntityHandle vert_ents[] = { gather_set_verts[0], gather_set_verts[1728], gather_set_verts[1729],
349 gather_set_verts[3457] };
352 const double eps = 0.001;
399 opts = std::string(
";;PARALLEL=READ_PART;PARTITION_METHOD=TRIVIAL" );
401 opts = std::string(
";;" );