How ejlilley/basis works
Main Components
• Basis Module: Located in the “basis” directory, this module contains code for a general basis set algorithm (targeting galactic haloes and discs). It includes a Julia file (Isochrone.jl) along with several scripts in MATLAB format (disc_expressions.m, isochrone_expressions.m, spherical_expressions.m). Its README in the module further serves as documentation.
• Coulomb Module: Found in the “coulomb” directory, this module includes MATLAB scripts (B_function.m, B_function_alternate.m, gaussian.m, slater.m, and a common.m for shared functionality) that implement adapted resolutions of the Coulomb operator for various orbital functions.
Relationships and Interactions
• If there’s any shared common environment (for configuration, version control, or shared utilities) denote it as a central “Project Repository” node that branches into the two modules (represented by the top-level files such as .gitignore, LICENSE, and README.md).
Architectural Patterns and Design Principles
• Separation of Concerns: The distinct directories clearly separate the basis set algorithm from the Coulomb operator computations.
• Modularity: Each module encapsulates its logic and dependencies – the “Basis Module” deals with galactic dynamics calculations while the “Coulomb Module” deals with orbital operator resolutions.