Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to access native mesh interface through templated method #27

Open
pshriwise opened this issue Nov 8, 2024 · 0 comments
Open

Comments

@pshriwise
Copy link
Owner

We could implement a method for accessing the native mesh interfaces in case experimental work needs to be implemented without addition of abstract methods to the MeshManager class. Something along the lines of:

template<class T>
const T* MeshManager::native_mesh() { 
  return dynamic_cast<T*> this->native_ptr();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant