Package jline.solvers.fluid
Class FluidODEsExporter
java.lang.Object
jline.solvers.fluid.FluidODEsExporter
Symbolic export of the mean-field ODE system integrated by SolverFluid.
Mirrors the MATLAB implementation in solver_fluid_symodes.m and
SolverFLD/exportODEs.m so that all codebases emit the same LaTeX document
for a given model. Two representations are produced:
form = "W": dx/dt = W'*theta(x) + lambda (methods: default, matrix, pnorm)
form = "J": dx/dt = J*r(x) (methods: closing, statedep, softmin)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classStructural description of the exported ODE system. -
Method Summary
Modifier and TypeMethodDescriptionstatic FluidODEsExporter.SymODEsbuild(NetworkStruct sn, SolverOptions options) Build the structural description of the ODE system for the method set in the solver options.static Stringrender(FluidODEsExporter.SymODEs sys, SolverOptions options, String modelName, String notation) Render the LaTeX document for the given system.
-
Method Details
-
build
Build the structural description of the ODE system for the method set in the solver options. -
render
public static String render(FluidODEsExporter.SymODEs sys, SolverOptions options, String modelName, String notation) Render the LaTeX document for the given system.- Parameters:
sys- structural description built by build()options- solver options (hide_immediate remark)modelName- model name shown in the documentnotation- "scalar" or "matrix"- Returns:
- LaTeX source
-