Comments (6)
@joshia5 I understand that there is a different set of functions when using topo_type or the dimension. What I'm saying is that is very surprising from the API perspective. As a user the only way that you would know this is by reading the code.
Do you have a lot of users using mixed meshes? It would probably make sense to break the mixed mesh functionality into a separate class since the current state is two orthogonal ways of working with the data mashed into a single class.
If you have only a few internal users for that functionality making some changes may be feasible and I can propose something.
Just bringing stuff up as I find it that catches me up. I'm open to discussion here.
from omega_h.
The storage/retrieval of tags for mixed meshes works based on topology type. It is not based on dimension. Following are the enum associated with the topo types:
enum class Topo_type : int { vertex, edge, triangle, quadrilateral, tetrahedron, hexahedron, wedge, pyramid };
from omega_h.
There are different query/storage functions for mixed mesh which accept topo_type as argument. For example if a tag is requested on entities of type "quadrilateral" it will return the tags that were set on quads only
from omega_h.
sounds good.. afaik i don't think I have active users right now for the mixed mesh. I am open to discussions on improving the api design
from omega_h.
I think some level of support at the back-end exists for such an API to deal with tags for mixed mesh and transforming tag data between Topo_type
and dimension. It was developed to support file i/o for vtk files. The missing link would be the APIs to get/set
tags that are exposed to the user.
from omega_h.
resolved with #82
from omega_h.
Related Issues (20)
- Failure during mesh adaptation HOT 3
- Perlmutter/Frontier Test Failure using CUDA aware MPI HOT 4
- shape_test fails with cpu serial backend build (kokkos disabled) HOT 2
- Warning message configuring on Summit with CMake 3.23.2, gcc 11.2.0, and Cuda 11.7.1
- Error building with nvidia/22.7, cuda11.7, and kokkos 4.0.01 on Perlmutter
- warp_test fails in mpi on frontier with reducedThrust branch HOT 1
- build error ('undefined hidden symbol') using amdclang compilers and no optimizations on frontier
- warp_test_serial hangs with amdclang compilers on frontier HOT 1
- Error while building with simmodsuite/16.0-210606dev HOT 1
- Error while building with simmodsuite_2023.1-230428dev HOT 2
- what versions of kokkos and cuda does omegah 10.8 require?
- nents(Topo_type ent_type) doesn't work for mono-topology meshes created with build_box HOT 1
- Omega_h::omega_h only available from an install version of omegah, not if host app adds it as subdirectory
- describe: provide more tag info HOT 3
- a unit test failure on A100/Perlmutter with CUDA UVM enabled
- periodic_test fails HOT 4
- replace vendor specific sort calls with kokkos::sort using custom comparator
- cuda aware run of deltawing case fails on perlmutter
- per process output from --osh-time sorted function is mixed together on stdout
- cleanup TEST_EXES in src/CMakeLists.txt
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 omega_h.