Skip to content
/ plugin-template Public template

Generic template to implement a simulation plugin for Funz

Notifications You must be signed in to change notification settings

Funz/plugin-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.github/workflows/ant.yml

This repositry is intended to be forked as a basis for an new plugin implementation. You can search for "MyPlugin" as a key to replace everywhere in this directory.

Funz plugin: MyPlugin

This plugin is dedicated to launch MyPlugin calculations from Funz. It supports the following syntax and features:

  • Input

    • file type supported: '*.MyPlugin', any other format for resources
    • parameter syntax:
      • variable syntax: $(...)
      • formula syntax: @{...}
      • comment char: #
    • example input file:
      ...
      ... $(x1~[1,2]) ...
      ... $x1 ...
      ...
      
      • will identify input:
        • x1, expected to vary inside [1,2]
        • x2, expected to vary inside [0,1] (by default)
      • replace !{?x2 + 1.23 | #.###} expression by its evaluation
  • Output

    • file type supported: '*.MyPlugin.out'
    • read any named value printed with =, like ...
    • example output file:
      ...
      z= ...
      ...
      
      • will return output:
        • z=...

Analytics

About

Generic template to implement a simulation plugin for Funz

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published