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

CellVariable.BC2GhostCells() and CellVariable.bc_to_ghost() #35

Closed
mhvwerts opened this issue Apr 8, 2024 · 0 comments
Closed

CellVariable.BC2GhostCells() and CellVariable.bc_to_ghost() #35

mhvwerts opened this issue Apr 8, 2024 · 0 comments

Comments

@mhvwerts
Copy link
Member

mhvwerts commented Apr 8, 2024

          I think I implemented both `CellVariable.BC2GhostCells()` and `CellVariable.bc_to_ghost()` to have one that change the ghost cell values in place and one that creates a new cell by assigning the ghost cell values when creating a new cell variable with known boundary conditions. It is indeed an excellent idea to have boundary conditions as a property of cell values. It has several benefits specially when working with non/linear systems of equations.

Originally posted by @simulkade in #34 (comment)

@mhvwerts mhvwerts closed this as completed Apr 8, 2024
@mhvwerts mhvwerts changed the title I think I implemented both CellVariable.BC2GhostCells() and CellVariable.bc_to_ghost() to have one that change the ghost cell values in place and one that creates a new cell by assigning the ghost cell values when creating a new cell variable with known boundary conditions. It is indeed an excellent idea to have boundary conditions as a property of cell values. It has several benefits specially when working with non/linear systems of equations. CellVariable.BC2GhostCells() and CellVariable.bc_to_ghost() Apr 8, 2024
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