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

Extra Methods for 2nd Derivative Penalties #22

Open
JaredCrean2 opened this issue Feb 11, 2019 · 2 comments
Open

Extra Methods for 2nd Derivative Penalties #22

JaredCrean2 opened this issue Feb 11, 2019 · 2 comments

Comments

@JaredCrean2
Copy link
Contributor

There are a couple of functions that users of SummationByParts could use to make the viscous terms faster:

  • computing element-level operations for only the nodes that are in the stencil of the interpolation operator
    • Ex. differentiateElementR that computes only the elements of uprime = Dx * u that will be used for volume to face interpolation
  • A uniform way to get both the stencil size of the interpolation operator as well as the nodes involved (sorted in increasing order)
    • I think sbpface.perm might do this, but I'm not sure if that is correct for SparseFace. I'm also not sure if it is sorted.

I don't need these functions in the short term, this issue is for future reference.

@JaredCrean2
Copy link
Contributor Author

Another useful feature would be to combine multiplication by a diagonal matrix and interpolation. Currently, the operation t2 = [Nx*R, Ny*R, Nz*R]*t1 has to be done in 2 steps: tmp = [Nx*R*t1, Ny*R*t1, Nz*R*t1]; t2 = R*tmp. Combining these into a single operation would remove the need for a temporary array tmp, which could be significant for the jacobian calculation, where tmp may be somewhat large.

@JaredCrean2
Copy link
Contributor Author

It would also be helpful to have methods to zero out only the relevant entries of the 4D and 5D jacobians (for the face interpolation functions).

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