Warning: Declaration of syntax_plugin_mathpublish::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /home/np29546/public_html/elmerice/wiki/lib/plugins/mathpublish/syntax.php on line 0

Warning: Declaration of syntax_plugin_mathpublish::render($mode, &$R, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /home/np29546/public_html/elmerice/wiki/lib/plugins/mathpublish/syntax.php on line 0

Warning: Cannot modify header information - headers already sent by (output started at /home/np29546/public_html/elmerice/wiki/lib/plugins/mathpublish/syntax.php:0) in /home/np29546/public_html/elmerice/wiki/inc/actions.php on line 38
courses:bestcoding [Elmer/Ice Wiki]

Best Coding Practices

TO BE DONE. List of good practices, or link to an Elmer page describing that.

Some notes from the Elmer/Ice workshop 2017:

  • indentation is 2 characters
  • Elmer function/routines name should be written using CAPITAL
  • Use the variable SolverName defined at the top of the Solver or User Function in all the Call FATAL or Call MESSAGE

Add some well written parts of code, that can be copied and past

  • Description of the different physical models that are defined in independent solvers pdf
  • Capabilities of the solver with an emphasis on generic library services provided by the software pdf
courses/bestcoding.txt · Last modified: 2017/11/24 08:40 by gag
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0