Operators for enforcing linear combination boundary conditions in nodal FEM setting.
Transformation matrix operator for edges direction LCBCs.
The substitution (in 3D) is:
[u_1, u_2, u_3]^T = [d_1, d_2, d_3]^T w,
where \ul{d} is an edge direction vector averaged into a node. The new DOF is w.
Transformation matrix operator for integral mean value LCBCs. All node DOFs are sumed to the new one.
Base class for LCBC operators.
Container holding instances of LCBCOperator subclasses for a single variable.
Create a new LCBC operator described by bc, and add it to the container.
Parameters: | bc : LinearCombinationBC instance
ts : TimeStepper instance
|
---|
Call this after all LCBCs of the variable have been added.
Initializes the global column indices and DOF counts.
Assemble all LCBC operators into a single matrix.
Parameters: | adi : DofInfo
new_only : bool
|
---|---|
Returns: | mtx_lc : csr_matrix
rhs_lc : array
lcdi : DofInfo
|
Base class for model-reduction type LCBC operators.
Transformation matrix operator for no-penetration LCBCs.
Transformation matrix operator for normal direction LCBCs.
The substitution (in 3D) is:
[u_1, u_2, u_3]^T = [n_1, n_2, n_3]^T w
The new DOF is w.