Comments (5)
Depending on the family level, you should be able to use the family APIs: https://cgns.github.io/CGNS_docs_current/midlevel/families.html. FamVC is not a standard definition.
from cgns.
I do use the family APIs, i.e. cg_fambc_read_f
, but the BCType
parameter is garbage (i.e. things like -1412585528
). Do I have to just ignore that data and deal with the errors myself?
from cgns.
We need to determine if there is a bug in the Fortran API (or C API) or if it's the CGNS file itself; it should not return garbage. Is the file ADF or ADFH (HDF5)? Are any issues reported by cgnscheck for the file? Did you install CGNS yourself, and did it pass all the tests? The Fortran family APIs are only tested in the examples.
from cgns.
HDF5, and cgnscheck doesn't complain. However, I'm not checking the error code returned by cg_fambc_read_f
, so I'll check that it is not actually telling me it is failing anyway.
from cgns.
If cgnscheck passes, it is most likely an issue with the Fortran API. You most likely will not get an error because the C API does not do a sanity check of the bocotype returned. If you are comfortable with C and recompiling CGNS, you could print out the value returned from the C API in cg_ftoc.c (or cgnslib.c if you want to go further into the C library). You could also use the hdf5 tool "h5dump" on the file to see if the contents of the file are reasonable.
What compiler and system is this?
from cgns.
Related Issues (20)
- [CGNS-284] MLL: Fix tech debt around cg_grid_bounding_box_read (*** Warning:No bounding box read ***)
- [CGNS-285] MLL does not update the NFACE_n/NGON_n format for CGNS v3.4 files HOT 2
- Add missing attachments to JIRA imported issues
- could UTF8 string type be supported instead of ASCII as the default text encoding for CGNS? HOT 7
- Wrong number of bases reported for v4.3 HOT 5
- Problems compiling with MPI. HOT 4
- Call to undeclared internal Tk function TkWmAddToColormapWindows in tkogl HOT 3
- Address warnings generated from gcc 11.3.0 HOT 1
- CMake build fails with hdf5 1.14 HOT 7
- HDF read fails if creation order is not tracked HOT 5
- Add cgnsupdate regression tests
- CGNS failing due to > 1.8 HDF5 library version being used with older CGNS versions to generate files. HOT 14
- Possible to raise limit on maximum open files HOT 3
- Create daily/weekly tests for github actions
- Check #ifdef skip in pcgns_ftest.F90 is still needed
- Best Practices for mixed canonical/polyhedron zones?
- CGNSTools compilation problem under windows and CGNSView open hdf5 type file error
- PartitionID
- cgnscheck is returning errors for cgns Fortran examples
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cgns.