BasicTools.FE.Fields.FEField module

BasicTools.FE.Fields.FEField.CheckIntegrity(GUI=False)[source]
class BasicTools.FE.Fields.FEField.FEField(name=None, mesh=None, space=None, numbering=None, data=None)[source]

Bases: FieldBase

Allocate(val=0)[source]
CheckCompatiblility(B)[source]
GetCellRepresentation(fillvalue: float64 = 0, method: str | int = 'mean') ndarray[source]

Function to push the data from the field into a vector homogeneous to the mesh cell (for visualisation for example). Entities with no dofs are filled with the fillvalues (default 0) the method controls to transfer function

GetPointRepresentation(fillvalue=0)[source]

Function to push the data from the field into a vector homogeneous to the mesh (for visualisation for example). Entities with no dofs are filled with the fillvalues (default 0)

GetTestField()[source]
SetDataFromPointRepresentation(userdata, fillvalue=0.0)[source]
binaryOp(other, op)[source]
copy()[source]
unaryOp(op)[source]