diff --git a/a00041_source.html b/a00041_source.html
index 2d3cf84..ddb553d 100644
--- a/a00041_source.html
+++ b/a00041_source.html
@@ -360,64 +360,66 @@
342 for (
unsigned int i = 0; i < dim; i++)
343 file << cells[dim - (i + 1)] <<
" ";
344 file <<
"\" Format=\"HDF\">\n"
- 345 <<
" " << fileName +
".stoch.h5" <<
":/stochastic\n"
-
-
-
- 349 }
else if (dim == 4) {
- 350 file <<
" <Grid Name=\"GridTime\" GridType=\"Collection\""
- 351 <<
" CollectionType=\"Temporal\">\n";
- 352 for (
unsigned int j = 0; j < cells[dim - 1]; j++) {
- 353 file <<
" <Grid Name=\"StructuredGrid\">\n"
- 354 <<
" <Time Value=\"" << j <<
"\"/>\n"
- 355 <<
" <Topology TopologyType=\"3DRectMesh\" NumberOfElements=\"";
- 356 for (
unsigned int i = 0; i < dim - 1; i++)
- 357 file << cells[dim - (i + 2)] <<
" ";
-
- 359 <<
" <Geometry GeometryType=\"origin_dxdydz\">\n"
- 360 <<
" <DataItem Dimensions=\"3\">\n"
-
-
- 363 <<
" <DataItem Dimensions=\"3\">\n"
-
- 365 for (
unsigned int i = 0; i < dim - 1; i++)
- 366 file << extensions[i] / cells[i] <<
" ";
-
-
-
- 370 <<
" <Attribute Name=\"" << fileName <<
"\" Center=\"Cell\">\n"
- 371 <<
" <DataItem ItemType=\"HyperSlab\" Dimensions=\"";
- 372 for (
unsigned int i = 0; i < dim - 1; i++)
- 373 file << cells[dim - (i + 2)] <<
" ";
-
- 375 <<
" <DataItem Dimensions=\"3 4\">\n"
- 376 <<
" " << j <<
" 0 0 0\n"
-
-
- 379 for (
unsigned int i = 0; i < dim - 1; i++)
- 380 file << cells[dim - (i + 2)] <<
" ";
-
-
- 383 <<
" <DataItem Dimensions=\"";
- 384 for (
unsigned int i = 0; i < dim; i++)
- 385 file << cells[dim - (i + 1)] <<
" ";
- 386 file <<
"\" Format=\"HDF\">\n"
- 387 <<
" " << fileName +
".stoch.h5" <<
":/stochastic\n"
-
-
-
-
-
- 393 file <<
" </Grid>\n";
-
-
- 396 file <<
" </Domain>\n"
- 397 <<
"</Xdmf>" << std::endl;
-
-
-
-
-
+ 345 <<
" " << fileName +
".stoch.h5"
+
+
+
+
+ 350 }
else if (dim == 4) {
+ 351 file <<
" <Grid Name=\"GridTime\" GridType=\"Collection\""
+ 352 <<
" CollectionType=\"Temporal\">\n";
+ 353 for (
unsigned int j = 0; j < cells[dim - 1]; j++) {
+ 354 file <<
" <Grid Name=\"StructuredGrid\">\n"
+ 355 <<
" <Time Value=\"" << j <<
"\"/>\n"
+ 356 <<
" <Topology TopologyType=\"3DRectMesh\" NumberOfElements=\"";
+ 357 for (
unsigned int i = 0; i < dim - 1; i++)
+ 358 file << cells[dim - (i + 2)] <<
" ";
+
+ 360 <<
" <Geometry GeometryType=\"origin_dxdydz\">\n"
+ 361 <<
" <DataItem Dimensions=\"3\">\n"
+
+
+ 364 <<
" <DataItem Dimensions=\"3\">\n"
+
+ 366 for (
unsigned int i = 0; i < dim - 1; i++)
+ 367 file << extensions[i] / cells[i] <<
" ";
+
+
+
+ 371 <<
" <Attribute Name=\"" << fileName <<
"\" Center=\"Cell\">\n"
+ 372 <<
" <DataItem ItemType=\"HyperSlab\" Dimensions=\"";
+ 373 for (
unsigned int i = 0; i < dim - 1; i++)
+ 374 file << cells[dim - (i + 2)] <<
" ";
+
+ 376 <<
" <DataItem Dimensions=\"3 4\">\n"
+ 377 <<
" " << j <<
" 0 0 0\n"
+
+
+ 380 for (
unsigned int i = 0; i < dim - 1; i++)
+ 381 file << cells[dim - (i + 2)] <<
" ";
+
+
+ 384 <<
" <DataItem Dimensions=\"";
+ 385 for (
unsigned int i = 0; i < dim; i++)
+ 386 file << cells[dim - (i + 1)] <<
" ";
+ 387 file <<
"\" Format=\"HDF\">\n"
+ 388 <<
" " << fileName +
".stoch.h5"
+
+
+
+
+
+
+ 395 file <<
" </Grid>\n";
+
+
+ 398 file <<
" </Domain>\n"
+ 399 <<
"</Xdmf>" << std::endl;
+
+
+
+
+
Definition: cpprngbackend.hh:5
bool fileExists(const std::string &filename)
Check if file exists.
Definition: io.hh:21
bool writeToXDMF(const std::array< unsigned int, dim > &cells, const std::array< RF, dim > &extensions, const std::string &fileName)
Write accompanying XDMF file for HDF5 file.
Definition: io.hh:306