- class DOFSpace(dof_weights)#
Generic degree-of-freedom space. It is defined as the domain of some DOFDistributor. Its entries represent the underlying degrees of freedom of some other space, according to the dofdex.
dof_weights (1-D numpy array) – A numpy array containing the multiplicity of each individual degree of freedom.
- property dvol#
Returns the volume factors of this domain, either as a floating point scalar (if the volume factors are all identical) or as a floating point array with a shape of self.shape.
float or numpy.ndarray(dtype=float)
- property harmonic#
True iff this domain is a harmonic domain.
- property scalar_dvol#
uniform pixel volume, if applicable
Returns the volume factors of this domain as a floating point scalar, if the volume factors are all identical, otherwise returns None.
float or None
- property shape#
number of pixels along each axis
The shape of the array-like object required to store information defined on the domain.
tuple of int
- property size#
total number of pixels.
Equivalent to the products over all entries in the domain’s shape.