[Paraview] reading classic *.cosmo files in versions greater than 3

Kashiwa, Bucky bak at lanl.gov
Tue Jun 30 10:50:39 EDT 2015


We have been very happily reading classical *.cosmo formatted datafiles
using version 3.98.1, but when reading the same files in subsequent
versions (4.0, 4.1, 4.2, 4.3) the data get read, but wrongly interpreted.
I did the diff of the PCosmoReader.h between v3.98.1 and v4.3.1 which
suggested to me that the last number in the cosmo data (called ¹tag¹) is
now int64_t rather than integer.  So if we write the cosmo data with type
MPI_2INTEGER (~ fortran kind=SELECTED_INT_KIND(15)) then the data are read
correctly by the v4.3.1 cosmo reader (without byte swap).

If I select the ŒAdaptive cosmo reader¹ from the reader list, it displays
a button for the ¹Tag Size¹ which can be 32-bit or 64-bit.  This button
does not appear on the ŒCosmology Files¹ choice from the reader list.

Could it be that the build system is somehow failing to place the ¹Tag
Size¹ button on the ŒCosmology Files¹ Properties panel?  If so, it would
be wonderful to get it put there so that we can have the choice of Tag
Size on the very useful .cosmo datafiles.  If not, please let us know if
we are stuck with a 64-bit Tag Size.

Thanks very much.
======================================================================73
<>Bucky Kashiwa PhD, PE  <> Post: MS B216, Los Alamos, NM  87545       <>
<>  Ofc: TA3-SM123-RM276 <>Email: bak at lanl.gov, kashiwa at qwest.net      <>
<>Voice: 505-667-8812    <>  Fax: 505-665-5926  <>
                         <> Home: 505-988-7332  <> Cell: 505-795-5581  <>
=======================================================================73




More information about the ParaView mailing list