methodsnm.fe
index
/builds/lehrenfeld/methodsnm/git-repo/jlcontent/src/methodsnm/fe.py

 
Modules
       
numpy

 
Classes
       
abc.ABC(builtins.object)
FE
Lagrange_FE
Node_FE

 
class FE(abc.ABC)
    This is the base class for all **scalar** finite element classes. 
It provides a template for the evaluate method.
 
 
Method resolution order:
FE
abc.ABC
builtins.object

Methods defined here:
__init__(self)
Initialize self.  See help(type(self)) for accurate signature.
evaluate(self, ip, deriv=False)
Evaluates the (derivative of) finite element at given integration point(s).
 
Parameters:
ip (numpy.array): The integration point(s) at which to evaluate the finite element.
deriv (bool): Whether to evaluate the derivative of the finite element (or identity).
 
Returns:
numpy.array: The values of the finite element basis fcts. at the given integration point.
   shape:                  (ndof) (for single ip) 
          or          (dim, ndof) (for single ip and deriv = True)
          or (len(ip),      ndof) (for multiple ips)
          or (len(ip), dim, ndof) (for multiple ips and deriv = True)

Data descriptors defined here:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object

Data and other attributes defined here:
__abstractmethods__ = frozenset({'_evaluate_deriv', '_evaluate_id'})
dim = None
eltype = None
ndof = None
order = None

 
class Lagrange_FE(FE)
    This class represents a Lagrange finite element.
A Lagrange finite element associates the dofs with the nodes of the element.
 
 
Method resolution order:
Lagrange_FE
FE
abc.ABC
builtins.object

Methods defined here:
__str__(self)
Return str(self).

Data and other attributes defined here:
__abstractmethods__ = frozenset({'_evaluate_deriv', '_evaluate_id'})
nodes = None

Methods inherited from FE:
__init__(self)
Initialize self.  See help(type(self)) for accurate signature.
evaluate(self, ip, deriv=False)
Evaluates the (derivative of) finite element at given integration point(s).
 
Parameters:
ip (numpy.array): The integration point(s) at which to evaluate the finite element.
deriv (bool): Whether to evaluate the derivative of the finite element (or identity).
 
Returns:
numpy.array: The values of the finite element basis fcts. at the given integration point.
   shape:                  (ndof) (for single ip) 
          or          (dim, ndof) (for single ip and deriv = True)
          or (len(ip),      ndof) (for multiple ips)
          or (len(ip), dim, ndof) (for multiple ips and deriv = True)

Data descriptors inherited from FE:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object

Data and other attributes inherited from FE:
dim = None
eltype = None
ndof = None
order = None

 
class Node_FE(FE)
    FE for a point (node).
 
 
Method resolution order:
Node_FE
FE
abc.ABC
builtins.object

Methods defined here:
__init__(self)
Initialize self.  See help(type(self)) for accurate signature.

Data and other attributes defined here:
__abstractmethods__ = frozenset()

Methods inherited from FE:
evaluate(self, ip, deriv=False)
Evaluates the (derivative of) finite element at given integration point(s).
 
Parameters:
ip (numpy.array): The integration point(s) at which to evaluate the finite element.
deriv (bool): Whether to evaluate the derivative of the finite element (or identity).
 
Returns:
numpy.array: The values of the finite element basis fcts. at the given integration point.
   shape:                  (ndof) (for single ip) 
          or          (dim, ndof) (for single ip and deriv = True)
          or (len(ip),      ndof) (for multiple ips)
          or (len(ip), dim, ndof) (for multiple ips and deriv = True)

Data descriptors inherited from FE:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object

Data and other attributes inherited from FE:
dim = None
eltype = None
ndof = None
order = None