Skip to content

Commit

Permalink
only the old front-end supports PDEModelica (#10221)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo committed Feb 16, 2023
1 parent 4cf73f0 commit e1e55eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/UsersGuide/source/pdemodelica.rst
Expand Up @@ -3,10 +3,10 @@ PDEModelica1

PDEModelica1 is nonstandardised experimental Modelica language extension for 1-dimensional partial differential extensions (PDE).

It is enabled using compiler flag ``--grammar=PDEModelica``. Compiler flags may be set e.g. in OMEdit (Tools->Options->Simulation->OMC Flags) or in the OpenModelica script using command
It is enabled using compiler flag ``--grammar=PDEModelica``. Compiler flags may be set e.g. in OMEdit (Tools->Options->Simulation->OMC Flags) or in the OpenModelica script using command. Note that PDEModelica does now work yet with the current frontend so you need to set ``-d=newInst`` in Tools->Options->Simulation->OMC Flags or check "Enable old frontend for code generation".

.. omc-mos ::
setCommandLineOptions("--grammar=PDEModelica")
setCommandLineOptions("--grammar=PDEModelica -d=-newInst")
PDEModelica1 language elements
Expand Down

0 comments on commit e1e55eb

Please sign in to comment.