Definition at line 19 of file dof_map_test.C.
◆ MyConstraint()
MyConstraint::MyConstraint |
( |
System & |
sys | ) |
|
|
inline |
◆ ~MyConstraint()
virtual MyConstraint::~MyConstraint |
( |
| ) |
|
|
inlinevirtual |
◆ constrain()
void MyConstraint::constrain |
( |
| ) |
|
|
inlinevirtual |
Constraint function.
This function will be called to constrain the system prior to a solve and must be provided by the user in a derived class.
Implements libMesh::System::Constraint.
Definition at line 31 of file dof_map_test.C.
References libMesh::DofMap::add_constraint_row(), and libMesh::System::get_dof_map().
36 constraint_row[1] = 1.0;
42 constraint_row[0] = 1.0;
void add_constraint_row(const dof_id_type dof_number, const DofConstraintRow &constraint_row, const Number constraint_rhs, const bool forbid_constraint_overwrite)
Adds a copy of the user-defined row to the constraint matrix, using an inhomogeneous right-hand-side ...
std::map< dof_id_type, Real, std::less< dof_id_type >, Threads::scalable_allocator< std::pair< const dof_id_type, Real > > > DofConstraintRow
A row of the Dof constraint matrix.
const DofMap & get_dof_map() const
◆ _sys
The documentation for this class was generated from the following file: