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

Be able to construct global dof index to derivative map for given dual number #15450

Closed
lindsayad opened this issue Jun 11, 2020 · 0 comments
Closed
Labels
C: Framework P: normal A defect affecting operation with a low possibility of significantly affects. T: task An enhancement to the software.

Comments

@lindsayad
Copy link
Member

Reason

@joshuahansel is coupling physics on disconnected different-dimension meshes (I think) where the only way he can get the Jacobians right in an AD setting is to be able to map derivatives using global dof indices (there is nothing local about his dependence)

Design

Create a utility that takes a dual number, DofMap, and element, and generates the map from global dof indices to derivatives. This is admittedly a slow way to do this. If we want to optimize this later, we could at a minimum generate a local to global index mapping for the current element one time and then use that map for all dual numbers supplied as arguments to it.

Impact

Help users (@joshuahansel ) do non-local derivative coupling

@lindsayad lindsayad added T: task An enhancement to the software. P: normal A defect affecting operation with a low possibility of significantly affects. labels Jun 11, 2020
lindsayad added a commit to lindsayad/moose that referenced this issue Jun 11, 2020
lindsayad added a commit to lindsayad/moose that referenced this issue Jun 11, 2020
lindsayad added a commit to lindsayad/moose that referenced this issue Jun 11, 2020
lindsayad added a commit to lindsayad/moose that referenced this issue Jun 11, 2020
This is actually only really a test in debug mode
lindsayad added a commit to lindsayad/moose that referenced this issue Jun 11, 2020
This is actually only really a test in debug mode
@fdkong fdkong closed this as completed in c4cc5ec Jun 12, 2020
recuero pushed a commit to recuero/moose that referenced this issue Jun 12, 2020
recuero pushed a commit to recuero/moose that referenced this issue Jun 12, 2020
This is actually only really a test in debug mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Framework P: normal A defect affecting operation with a low possibility of significantly affects. T: task An enhancement to the software.
Projects
None yet
Development

No branches or pull requests

1 participant