Class FluidODEsExporter

java.lang.Object
jline.solvers.fluid.FluidODEsExporter

public class FluidODEsExporter extends Object
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)
  • Method Details

    • build

      public static FluidODEsExporter.SymODEs build(NetworkStruct sn, SolverOptions options)
      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 document
      notation - "scalar" or "matrix"
      Returns:
      LaTeX source