[FEM] Elmer: a fix for keywords

- according to the Elmer solver manual, check keywords have to be quoted
This commit is contained in:
Uwe
2022-07-27 01:48:10 +02:00
parent 5b25c97589
commit bc69cfd19b

View File

@@ -31,7 +31,6 @@ __url__ = "https://www.freecadweb.org"
import collections
import six
SIMULATION = "Simulation"
CONSTANTS = "Constants"
BODY = "Body"
@@ -57,7 +56,6 @@ _VALID_SECTIONS = (
COMPONENT,
)
_NUMBERED_SECTIONS = (
BODY,
MATERIAL,
@@ -69,24 +67,21 @@ _NUMBERED_SECTIONS = (
COMPONENT,
)
_SECTION_DELIM = "End"
_WHITESPACE = " "
_INDENT = " " * 2
_NEWLINE = "\n"
_TYPE_REAL = "Real"
_TYPE_INTEGER = "Integer"
_TYPE_LOGICAL = "Logical"
_TYPE_STRING = "String"
_TYPE_FILE = "File"
WARN = "Warn"
IGNORE = "Ignore"
ABORT = "Abort"
SILENT = "Silent"
WARN = "\"Warn\""
IGNORE = "\"Ignore\""
ABORT = "\"Abort\""
SILENT = "\"Silent\""
def createSection(name):