Skip to content

julia/MOLE.jl: Add addScalarBC, relative BCs tests and elliptic1DaddScalarBC example #300

Open
valeriabarra wants to merge 1 commit intomainfrom
valeria/addScalarBCs
Open

julia/MOLE.jl: Add addScalarBC, relative BCs tests and elliptic1DaddScalarBC example #300
valeriabarra wants to merge 1 commit intomainfrom
valeria/addScalarBCs

Conversation

@valeriabarra
Copy link
Collaborator

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Example
  • Documentation

Description

This PR adds a new set of Boundary Conditions in Julia. Specifically, it adds:

  • the AbstractScalarBC abstract type (so that we can generalize to multiple dimensions later)
  • the ScalarBC1D concrete type and convenience constructor
  • a couple of helper functions
  • the addScalarBC! functions to apply the scalar type BCs
  • unit tests for this type of BCs (not present in the MATLAB/Octave counterpart)
  • translation of the elliptic1DaddScalarBC.m example as elliptic1DaddScalarBC.jl

Related Issues & Documents

QA Instructions, Screenshots, Recordings

Added/updated tests?

We encourage you to test all code included with MOLE, including examples.

  • Yes
  • No, and this is why: please replace this line with details on why tests
    have not been included
  • I need help with writing tests

Read Contributing Guide and Code of Conduct

…dScalarBC!

julia/MOLE.jl: add addScalarBC tests and elliptic1DaddScalarBC.jl example
@valeriabarra valeriabarra self-assigned this Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Translate the addScalarBC1D Boundary Condition and add an example that shows its usage (elliptic1DaddScalarBC)

1 participant