Eidolon
|
Inherits object.
Public Member Functions | |
def | __init__ (self, geom, basisname, desc, order, xis, vertices, faces, internalxis, basis, pointsearch, facetype) |
def | isFixedNodeCount (self) |
def | numNodes (self) |
def | numVertices (self) |
def | numFaces (self) |
def | numFaceVertices (self, face=0) |
def | getFaceIndices (self, face) |
def | getFaceVertexIndices (self, face) |
def | getFaceType (self, face, asLinear=False) |
def | getFaceFarIndex (self, face) |
def | getInternalFaceXiSub (self, face) |
def | applyBasis (self, vals, xi0, xi1, xi2, args, kwargs) |
def | applyCoeffs (self, vals, coeffs) |
def | faceXiToElemXi (self, face, xi0, xi1) |
def | applyPointSearch (self, elemnodes, pt, refine, args, kwargs) |
def | __repr__ (self) |
Public Attributes | |
geom | |
dim | |
isSimplex | |
basisname | |
desc | |
order | |
xis | |
centerxi | |
vertices | |
faces | |
basis | |
pointsearch | |
facetype | |
internalxis | |
facevertices | |
edges | |
Defines an element type as its basis function. This includes geometry and face type information.
def __init__ | ( | self, | |
geom, | |||
basisname, | |||
desc, | |||
order, | |||
xis, | |||
vertices, | |||
faces, | |||
internalxis, | |||
basis, | |||
pointsearch, | |||
facetype | |||
) |
def __repr__ | ( | self | ) |
def applyBasis | ( | self, | |
vals, | |||
xi0, | |||
xi1, | |||
xi2, | |||
args, | |||
kwargs | |||
) |
Evaluates the basis function at the xi point, multiplies the values by the coefficients, and sums the result.
def applyCoeffs | ( | self, | |
vals, | |||
coeffs | |||
) |
Apply the given coefficients to the given values and return the summed result.
def applyPointSearch | ( | self, | |
elemnodes, | |||
pt, | |||
refine, | |||
args, | |||
kwargs | |||
) |
Attempt to find what xi coordinate in an element defined by node values `elemnodes' the point `pt' is found at.
def faceXiToElemXi | ( | self, | |
face, | |||
xi0, | |||
xi1 | |||
) |
Convert the xi value (xi0,xi1) on face number `face' to an element xi value for a 3D element. If self.dim is less than 3, the result is simply (xi0,xi1,0). This relies on face 0 being on the xi YZ plane at xi0=0.
def getFaceFarIndex | ( | self, | |
face | |||
) |
Returns the index of a vertex far from the given face, or -1 if not fixed or is not applicable.
def getFaceIndices | ( | self, | |
face | |||
) |
Returns the indices for a face, or [] if not fixed.
def getFaceType | ( | self, | |
face, | |||
asLinear = False |
|||
) |
def getFaceVertexIndices | ( | self, | |
face | |||
) |
def getInternalFaceXiSub | ( | self, | |
face | |||
) |
Returns the value to subtract from a xi on the given face to get an internal xi.
def isFixedNodeCount | ( | self | ) |
Returns true if the basis function is defined for a fixed number of control nodes, eg. nodal lagrange.
def numFaces | ( | self | ) |
Returns the number of faces, -1 if not fixed.
def numFaceVertices | ( | self, | |
face = 0 |
|||
) |
Returns the number of vertices for a face, or -1 if not fixed.
def numNodes | ( | self | ) |
Returns the number of nodes used to define this basis type, -1 if not fixed.
def numVertices | ( | self | ) |
Returns the number of corner nodes, -1 if not fixed.
basis |
basisname |
centerxi |
desc |
dim |
edges |
faces |
facetype |
facevertices |
geom |
internalxis |
isSimplex |
order |
pointsearch |
vertices |
xis |