Comments (4)
I'd like to fix this at least for Exodus. If someone could point me in the right direction, that'd be helpful. I recall that @pbauman had some thoughts about how to unify the codepath so that IO works properly for --enable-complex across the board?
from libmesh.
Yikes. I wish I'd just done this when I was thinking about it. Sorry.
The path I'd had in mind was to mimic what I did for vector-valued variables: in both EquationSystems::build_variable_names and EquationSystems::build_solution_vector (search for TYPE_VECTOR), check if variable is complex. If so, add variable names for each component (I'd had in mind mimicking what was done in GMV output) and plopping the corresponding solution values in the correct index locations for each component. This should Just Work (TM) for Exodus (and I think all the others too except VTK), but GMVIO would have to be updated to use build_solutions_names/vector.
I may have 1. forgotten something and/or 2. Not thought it through all the way, but I think it should be simple and only a few extra lines. Don't have time to contribute code on this ATM, but let me know if the code looks nebulous in there and I'll do my best to shine some light.
from libmesh.
OK, thanks. I'll try to get around to this soon. For now I just wanted to sort out the "game plan". What you describe above sounds good, and I'll let you know if I have any other questions once I get around to working on this properly.
Thanks!
from libmesh.
This should be resolved in pull request #195 from Dana Christen.
from libmesh.
Related Issues (20)
- FE pre-requests for error estimation HOT 3
- Create is_hierarchic shim in FEInterface
- Support repair of mixed-order meshes in `UnstructuredMesh::all_second_order()` HOT 1
- When is the next release ? HOT 3
- Hardcoded /usr/include/tirpc path HOT 3
- Enhance MeshFunction to handle vector variables
- Assessment of the difficulty in porting CPU architecture for libmesh HOT 1
- Uniform serial data access to vector and tensor types HOT 2
- Enabling threaded print of element information HOT 1
- Abaqus mesh reading new error
- Incorrect VTK configuration flag suggested by configure HOT 8
- Installation with mac M1 HOT 8
- Support mixed-order meshes in `find_neighbors()`, `stitch_meshes()` HOT 1
- Spurious -I/usr/include/tirpc is added when autodetecting libtirpc in linker path
- Refactor HDG NS example to use FEMContext
- VTK output then read loses block id information HOT 5
- MatSetValues_MPIAIJ() triggers malloc error at line 565 during libMesh termination HOT 6
- Installation error due to petsc compatibility HOT 12
- constrain_element_matrix changes the col_dofs vector size HOT 3
- Investigating the possibility of only having one solution vector in systems HOT 3
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 libmesh.