Public Member Functions | |
def | readCellExpression (self, group_value_dict, value_type="scalar", overlap=lambda x:x[0], *args, **kwargs) |
def | readFacetFunction (self, group_value_dict, *args, **kwargs) |
def | readMesh (self) |
def | resetMesh (self) |
Public Attributes | |
mesh | |
xdmffilename | |
Detailed Description
Reads XDMF file and provides unified interface for returning cell functions or facet functions.
Member Function Documentation
◆ readCellExpression()
def femsolver.fenics.fenics_tools.XDMFReader.readCellExpression | ( | self, | |
group_value_dict, | |||
value_type = "scalar" , |
|||
overlap = lambda x: x[0] , |
|||
* | args, | ||
** | kwargs | ||
) |
Reads cell expression and returns it.
References femsolver.fenics.fenics_tools.XDMFReader.mesh, femsolver.fenics.fenics_tools.XDMFReader.readMesh(), and femsolver.fenics.fenics_tools.XDMFReader.xdmffilename.
◆ readFacetFunction()
def femsolver.fenics.fenics_tools.XDMFReader.readFacetFunction | ( | self, | |
group_value_dict, | |||
* | args, | ||
** | kwargs | ||
) |
Reads facet function and returns it.
References femsolver.fenics.fenics_tools.XDMFReader.mesh, femsolver.fenics.fenics_tools.XDMFReader.readMesh(), and femsolver.fenics.fenics_tools.XDMFReader.xdmffilename.
◆ readMesh()
def femsolver.fenics.fenics_tools.XDMFReader.readMesh | ( | self | ) |
If mesh instance is None, read mesh instance from file denoted by filename property.
References femsolver.fenics.fenics_tools.XDMFReader.mesh, and femsolver.fenics.fenics_tools.XDMFReader.xdmffilename.
Referenced by femsolver.fenics.fenics_tools.XDMFReader.readCellExpression(), and femsolver.fenics.fenics_tools.XDMFReader.readFacetFunction().
◆ resetMesh()
def femsolver.fenics.fenics_tools.XDMFReader.resetMesh | ( | self | ) |
Resets mesh instance to None.
References femsolver.fenics.fenics_tools.XDMFReader.mesh.
Member Data Documentation
◆ mesh
femsolver.fenics.fenics_tools.XDMFReader.mesh |
Referenced by femtools.ccxtools.FemToolsCcx.check_prerequisites(), femtools.ccxtools.FemToolsCcx.has_no_material_assigned(), femtools.ccxtools.FemToolsCcx.has_nonpositive_jacobians(), femsolver.fenics.fenics_tools.XDMFReader.readCellExpression(), femsolver.fenics.fenics_tools.XDMFReader.readFacetFunction(), femsolver.fenics.fenics_tools.XDMFReader.readMesh(), femsolver.fenics.fenics_tools.XDMFReader.resetMesh(), MengerSponge.MengerThread.run(), and femtools.ccxtools.FemToolsCcx.write_inp_file().
◆ xdmffilename
femsolver.fenics.fenics_tools.XDMFReader.xdmffilename |
The documentation for this class was generated from the following file:
- src/Mod/Fem/femsolver/fenics/fenics_tools.py