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

Domainintegrator markers and matrix free gpu #4161

Closed
joetristano opened this issue Feb 28, 2024 · 4 comments
Closed

Domainintegrator markers and matrix free gpu #4161

joetristano opened this issue Feb 28, 2024 · 4 comments
Assignees

Comments

@joetristano
Copy link

Hi,
I was playing around with domain integrators with a Helmholtz solver. When I assemble, I can limit computational domain over a given set of markers. This works quite well.

However, when I approach this, with my matrix, free, elasticity solver, I realized that since I'm not assembling anything, I cannot limit the computational domain in this way. According to the hooke minapp, L vec to E vec occurs in the operator. The size of these vectors is determined by the EE space which has no knowledge of the assembly as far as I know..

How would one best leverage the marker capability with a matrix free solver? For instance, on one set of markers I would use a certain kernel and another set of markers, I use a kernel.

Any thoughts on this would be appreciated.
Thanks in advance,
Joe

@jandrej
Copy link
Member

jandrej commented Feb 29, 2024

Hooke's kernels don't accommodate domain attributes. It's a showcase application and it's up the user to use or modify pieces to fit their needs.

In general matrix free integrators work the same way for attributes as regular integrators do. It's simply a matter of applying the integrators to the marked elements.

@jtristano
Copy link

When you get the E vectors from the L vectors would you create separate E vectors per Marker or just have one big E vector and apply different kernels based on markers? If it's the latter, you could experience thread divergence in your kernels, yes?

@jandrej
Copy link
Member

jandrej commented Mar 1, 2024

It's the latter. Yes, in general you will have idling threads.

@jtristano
Copy link

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants