MOLE.jl: Refactoring in Opearors and BCs Modules#282
MOLE.jl: Refactoring in Opearors and BCs Modules#282valeriabarra wants to merge 2 commits intomainfrom
Conversation
|
Hi @valeriabarra , thanks for this refactoring suggestion! I agree with your changes, and I think this will help keep the code more organized. One comment: currently, with the changes as-is, the "elliptic1D.jl" file won't run, specifically because the
which means that we would need to explicitly call What is the standard practice? Should we require that the module name be called before the function, or should we keep the export statement? Thank you. |
|
Hi @mathgeek31415 , thank you very much for your review. Yeah, you are right that I had forgot to run the example (I had focused on the tests first). In my commit c9cb544 I addressed your concerns. I decided to still not use the |
mathgeek31415
left a comment
There was a problem hiding this comment.
Everything looks good here! The example file (elliptic1D.jl) and the unit tests all seem to be working correctly. These changes are approved for merging.
|
@jbrzensk we need at least one approving reviewer with write access to be able to merge. Thanks |
What type of PR is this? (check all applicable)
Description
This PR refactors the current MOLE.jl into (sub)Modules. In the existing version, only the superModule MOLE existed and all operators and boundary condition implementation files were homed all in the same
MOLE.jl/src/directory.Operatorsand one forBCs).MOLE.jl/src/andMOLE.jl/test/subdirectories.MOLE.jl/test/runtests.jlfileRelated Issues & Documents
Added/updated tests?
have not been included
Read Contributing Guide and Code of Conduct