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

new Laplacian for exchange BC #38

Merged
merged 73 commits into from
Feb 23, 2022

Conversation

prkkumar
Copy link
Contributor

@prkkumar prkkumar commented Sep 21, 2021

This PR is to implement the Neumann boundary conditions when the exchange interactions are taken into account. Steps include:

  1. New implementation of Laplacian operator as divergence of gradient
  2. Logic for Neumann condition based on location of the field on the grid quantity w.r.t. the interface between magnetized and non-magnetized regions.

rzamora2 and others added 30 commits June 10, 2021 11:32
@@ -223,6 +226,131 @@ struct CartesianYeeAlgorithm {

#endif

#ifdef WARPX_MAG_LLG
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is specific to LLG and mainly does laplacian, lets move this to a different file, in the same directory
CartesianYeeLaplacian.H
This would avoid conflicts when we merge and keep things clean

Copy link
Collaborator

@RevathiJambunathan RevathiJambunathan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR Just left a minor comment

@ajnonaka ajnonaka merged commit 2c9c1cd into AMReX-Microelectronics:development Feb 23, 2022
@jackieyao0114 jackieyao0114 linked an issue Apr 22, 2022 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Need Dirichlet BC for Exchange BC
4 participants