libMesh
|
#include <variational_smoother_constraint.h>
Public Member Functions | |
VariationalSmootherConstraint (System &sys, const bool &preserve_subdomain_boundaries) | |
virtual | ~VariationalSmootherConstraint () override |
virtual void | constrain () override |
Constraint function. More... | |
Private Member Functions | |
void | fix_node (const Node &node) |
Private Attributes | |
System & | _sys |
const bool | _preserve_subdomain_boundaries |
Whether nodes on subdomain boundaries are subject to change via smoothing. More... | |
Definition at line 34 of file variational_smoother_constraint.h.
libMesh::VariationalSmootherConstraint::VariationalSmootherConstraint | ( | System & | sys, |
const bool & | preserve_subdomain_boundaries | ||
) |
Definition at line 25 of file variational_smoother_constraint.C.
|
overridevirtualdefault |
|
overridevirtual |
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 34 of file variational_smoother_constraint.C.
References _preserve_subdomain_boundaries, _sys, libMesh::MeshTools::build_nodes_to_elem_map(), libMesh::MeshTools::find_boundary_nodes(), libMesh::MeshTools::find_nodal_neighbors(), fix_node(), libMesh::System::get_mesh(), and mesh.
|
private |
Definition at line 114 of file variational_smoother_constraint.C.
References _sys, libMesh::DofMap::add_constraint_row(), libMesh::DofObject::dof_number(), libMesh::System::get_dof_map(), libMesh::System::get_mesh(), libMesh::make_range(), libMesh::MeshBase::mesh_dimension(), and libMesh::System::number().
Referenced by constrain().
|
private |
Whether nodes on subdomain boundaries are subject to change via smoothing.
Definition at line 41 of file variational_smoother_constraint.h.
Referenced by constrain().
|
private |
Definition at line 38 of file variational_smoother_constraint.h.
Referenced by constrain(), and fix_node().