- class discretize.operators.DiffOperators#
Class used for creating differential and averaging operators.
DiffOperatorsis a class for managing the construction of differential and averaging operators at the highest level. The
DiffOperatorclass is inherited by every
discretizemesh class. In practice, differential and averaging operators are not constructed by creating instances of
DiffOperators. Instead, the operators are constructed (and sometimes stored) when called as a property of the mesh.
Averaging operator from x-edges to cell centers (scalar quantities).
Averaging operator from y-edges to cell centers (scalar quantities).
Averaging operator from z-edges to cell centers (scalar quantities).
Averaging operator from x-faces to cell centers (scalar quantities).
Averaging operator from y-faces to cell centers (scalar quantities).
Averaging operator from z-faces to cell centers (scalar quantities).
Represents the operation of integrating a vector function on the boundary
Represents the operation of integrating a vector function dotted with the boundary normal
cellGrad has been deprecated.
cellGradBC has been deprecated.
cellGradx has been deprecated.
cellGrady has been deprecated.
cellGradz has been deprecated.
Cell gradient operator (cell centers to faces)
Boundary conditions matrix for the cell gradient operator (Deprecated)
X-derivative operator (cell centers to x-faces)
Y-derivative operator (cell centers to y-faces)
Z-derivative operator (cell centers to z-faces)
faceDivx has been deprecated.
faceDivy has been deprecated.
faceDivz has been deprecated.
X-derivative operator (x-faces to cell-centres)
Y-derivative operator (y-faces to cell-centres)
Z-derivative operator (z-faces to cell-centres)
Differencing operator along x-direction (cell centers to x-faces)
Differencing operator along y-direction (cell centers to y-faces)
Differencing operator along z-direction (cell centers to z-faces)
cell_gradient_weak_form_robin([alpha, beta, ...])
Robin conditions for weak form of the cell gradient operator (cell centers to faces)
Robin conditions for weak form of the edge divergence operator (edges to nodes)
getBCProjWF has been deprecated.
getBCProjWF_simple has been deprecated.
The weak form boundary condition projection matrices.
The weak form boundary condition projection matrices when mixed boundary condition is used
setCellGradBC has been deprecated.
Set zero Dirichlet/Neumann boundary conditions for derivative operators acting on cell-centered quantities.