FEMDocumentation`
FEMDocumentation`

FEMMethodData

FEMMethodData[]

represents data that is used for the finite element method.

Details and OptionsDetails
  • FEMMethodData[] is created by InitializePDEMethodData.
  • FEMMethodData[] can be extracted from NDSolve`StateData objects generated by NDSolve`ProcessEquations using the "FiniteElementData" and "MethodData" properties.
  • In standard output format, only the degrees of freedom, the interpolation order for each dependent variable, and the integration order are shown.
  • FEMMethodData objects are used as input for DiscretizePDE and DiscretizeBoundaryConditions.
  • FEMMethodData[][prop] gives the property prop of the FEMMethodData object. The following properties may be given:
  • "DegreesOfFreedom"degrees of freedom of system matrices
    "ElementMesh"element mesh
    "IncidentOffsets"offsets where incidents start for each dependent variable
    "Incidents"the mesh incidents
    "IntegrationOrder"the order with which each dependent variable is integrated
    "InterpolationOrder"the interpolation order for each dependent variable
    "Properties"list of properties
    "SolutionData"solution data
    "TotalDegreesOfFreedom"sum of degrees of freedom, hanging nodes degrees of freedom, and additional constraints
    "VariableData"variable data
  • Examples

    open allclose all

    Basic Examples  (1)

    Load the finite element package:

    In[1]:=
    Click for copyable input

    Set up a NumericalRegion:

    In[2]:=
    Click for copyable input
    Out[2]=

    Set up variable and solution data:

    In[3]:=
    Click for copyable input

    Initialize the partial differential equation data:

    In[4]:=
    Click for copyable input
    Out[4]=

    This is equivalent to choosing "FiniteElement" for Method:

    In[5]:=
    Click for copyable input
    Out[5]=

    Scope  (14)

    Properties & Relations  (2)

    See Also

    InitializePDEMethodData  NDSolve  DiscretizePDE  DiscretizeBoundaryConditions

    Tutorials