How emreturkoz/sjs works
Project type and purpose
• This is a domain-specific, open-source scientific tool (a “Slender jet solver”) written in C++. It compiles into one or more command-line executables.
• The solver computes fluid-jet models (Laplace, Newtonian, viscoelastic) by plugging in different model classes into a common solver framework.
File structure
• Top-level files only—no subdirectories.
• Makefile: build orchestration.
• README.md: project description.
• main / sjsMain.cpp: entry point(s).
• sjsCommon.h: shared macros, typedefs, constants.
• sjsModel.*: base Model interface (virtual methods, parameters).
• sjsLaplaceModel.*, sjsNewtonianJet.*, sjsViscoelasticJet.*: concrete Model subclasses.
• sjsSolvers.*: core solver framework (time‐stepper, discretization loops).
• sjsSolverHelpers.*: utility routines (linear algebra, I/O, parameter parsing).
Detail
• Dependencies at both compile-time (headers/includes) and run-time (object interactions).
• This granular breakdown makes it easy to see where to extend, test, or refactor.