Skip to content

"dofs" block

Current AsFem input files are JSON. The DoF section is a JSON object named "dofs".

json { "dofs": { "names": ["ux", "uy"] } }

Options

  • "names": required array of non-empty strings.

The order in "names" defines the internal DoF ids used later by "elements", "bcs", "ics", and "projection". For example:

json { "dofs": { "names": ["ux", "uy", "c"] } }

Here ux is the first DoF, uy is the second, and c is the third.

"names" is the only key read by ReadDofsBlock.cpp. The old name= syntax is no longer valid.