Giter Site home page Giter Site logo

Comments (4)

dknez avatar dknez commented on May 28, 2024

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.

pbauman avatar pbauman commented on May 28, 2024

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.

dknez avatar dknez commented on May 28, 2024

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.

dknez avatar dknez commented on May 28, 2024

This should be resolved in pull request #195 from Dana Christen.

from libmesh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.