Git Product home page Git Product logo

Comments (4)

cyrush avatar cyrush commented on June 19, 2024 1

Hi @mlohry here is what you need:

You can load a mesh using the info from the root file and all other needed data files using the method:

conduit::relay::io::blueprint::read_mesh

https://llnl-conduit.readthedocs.io/en/latest/blueprint_mesh.html#loading-meshes-from-files

conduit::relay::io::blueprint::read_mesh(const std::string &root_file_path,
                                         conduit::Node &mesh);

After this, the node passed as mesh will contain a verified blueprint mesh that you can feed to re-partition.

from conduit.

cyrush avatar cyrush commented on June 19, 2024 1

For more context, the root file has metadata the reflects the larger structure of the domain-decomposed mesh and that info points to locations in other hdf5 files. The read_mesh method handles all of the bookkeeping to read things back in.

There is also a mpi version that allows you to read the mesh, but have the domains distributed across MPI tasks.

from conduit.

mlohry avatar mlohry commented on June 19, 2024 1

Thank you @cyrush , got it.

from conduit.

mlohry avatar mlohry commented on June 19, 2024

@cyrush , got that aspect working, but does this partition merging know about ascent_ghosts? I'm getting holes in the mesh along partition lines when merging to one partition. The partitioned extract is the result of giving blueprint+ascent each partition in 0-based local ordering.

from conduit.

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.