Commit c60e773d authored by mark's avatar mark

ENH: adjust names of architecture attributes to reflect OpenFOAM values

parent ed943710
......@@ -12,14 +12,15 @@
---
2016-11-02
2016-12-20
---
* Storage directory: "adiosData/"
* Each "bp" (binary packed) adios file is restricted to a ***single***
time-step/iteration. This makes for simple and efficient handling.
* Each "ofbp" (OpenFOAM binary packed) adios file is restricted to a
***single*** time-step/iteration.
This makes for simple and efficient handling.
* In rare cases are values stored in global arrays with offsets.
- Single values per-processor (eg, time index).
......@@ -46,9 +47,9 @@ All entries are considered mandatory.
| _any_ | /constant/... | _reserved_
| _any_ | /system/... | _reserved_
| string | /openfoam/version | "plus-e40d8870f95a"
| string | /openfoam/endian | "little"
| int | /openfoam/label-size | 32
| int | /openfoam/scalar-size | 64
| string | /openfoam/endian | "LSB"
| int | /openfoam/label | 32
| int | /openfoam/scalar | 64
| int | /openfoam/nProcs | 4
| int | /openfoam/nRegions | 2
| string[]| /openfoam/regions | {"region0", "solid"}
......@@ -65,7 +66,7 @@ These entries are advisable.
| type | name | example
|---------|-----------------------------|--------
| string | /openfoam/baseline/plus | 1609
| string | /openfoam/baseline/plus | 1612
| string | /openfoam/platform | "linux64Gcc"
......
......@@ -228,32 +228,32 @@ void Foam::adiosCoreWrite::putBaseAttributes()
#endif
);
// Endian type (big|little)
// Endian type (LSB|MSB)
putAttribute
(
"endian",
adiosCore::foamAttribute,
#ifdef WM_BIG_ENDIAN
"big"
#ifdef WM_LITTLE_ENDIAN
"LSB"
#else
"little"
"MSB"
#endif
);
// OpenFOAM label size (32|64)
putIntAttribute
(
"label-size",
"label",
adiosCore::foamAttribute,
int(8 * sizeof(label))
int(8 * sizeof(Foam::label))
);
// OpenFOAM scalar size (32=single, 64=double)
putIntAttribute
(
"scalar-size",
"scalar",
adiosCore::foamAttribute,
int(8 * sizeof(scalar))
int(8 * sizeof(Foam::scalar))
);
// other general information
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment