All authors

Claude Skills by struphy-hub
github.com/struphy-hub5 skills0 installs15 views
- New ModelUse when a user wants to implement, add or create a new Struphy model (a new PDE system in src/struphy/models/), or to add terms to an existing model. Checks first whether the model belongs to an existing model family (Vlasov, Guiding-center, LinearEuler, Maxwell, SPH, ...) and asks the user whether to add it there. Triggers on requests like "implement a new model", "add a model for ...", "create model X with propagators Y and Z".Votes: 0GitHub stars: 43
- Postprocess SimulationUse when reading, post-processing, plotting or analysing the output of a Struphy simulation (a folder with run_metadata.json and data/) - writing pproc_*.py scripts or notebooks with the Output API, evaluating fields, scalars, distributions or orbits as xarray objects, or using `struphy output`. Triggers on requests like "plot the results", "post-process the run", "load the simulation output", "compare two runs".Votes: 0GitHub stars: 43
- Setup SimulationUse when creating or editing a Struphy simulation parameter file (params_*.py) - choosing a model, configuring domain/grid/time-stepping, species/backgrounds/perturbations and propagator options, then running the simulation. Triggers on requests like "set up a simulation", "create a params file for a model", "configure a model run", or "how do I run struphy". For reading and plotting results, use the postprocess-simulation skill.Votes: 0GitHub stars: 43
- Create StudyUse when creating, extending or publishing a study in struphy-studies (a page of the public site with Struphy runs, their figures and videos, findings and the commands to reproduce them) - planning the runs, post-processing, comparison figures, tools/study.py create/link/check, study.yaml, the local preview and the media upload to MPCDF DataShare. Triggers on requests like "make a study out of these runs", "add the runs to the study", "draft the study page", "publish the study".Votes: 0GitHub stars: 43
- Profiling CaseUse when adding or changing a Struphy profiling case - a submit_*.py script next to an example in examples/ that runs the example on several MPI rank counts (strong/weak scaling, CPU vs GPU, preconditioner or discretization comparisons) via the driver in profiling/, and packages and uploads the results to struphy-hub/profiling-data. Triggers on requests like "make a scaling study of example X", "add a profiling case", "draft a submit script", "compare preconditioners on N ranks", "upload to p...Votes: 0GitHub stars: 43