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

Improve BC #72

Open
gouarin opened this issue Apr 11, 2023 · 0 comments
Open

Improve BC #72

gouarin opened this issue Apr 11, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@gouarin
Copy link
Contributor

gouarin commented Apr 11, 2023

When we add a boundary condition using for example

auto u = samurai::make_field<double, 4>("u", mesh);
samurai::make_bc<samurai::dirichlet>(u, 0., 0., 0., 0.);

we defined the boundary condition for all components of the field.

But sometimes, we don't want to split our field and we want to have several boundary conditions depending of the field component.

The BCclass must then be updated to take this case into account.

@gouarin gouarin added the enhancement New feature or request label Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant