libMesh
Public Member Functions | List of all members
libMesh::System::Constraint Class Referenceabstract

Abstract base class to be used for system constraints. More...

#include <system.h>

Inheritance diagram for libMesh::System::Constraint:
[legend]

Public Member Functions

virtual ~Constraint ()=default
 Destructor. More...
 
virtual void constrain ()=0
 Constraint function. More...
 

Detailed Description

Abstract base class to be used for system constraints.

A user class derived from this class may be used to constrain the system by attaching an object with the method attach_constraint_object.

Definition at line 179 of file system.h.

Constructor & Destructor Documentation

◆ ~Constraint()

virtual libMesh::System::Constraint::~Constraint ( )
virtualdefault

Destructor.

Virtual because we will have virtual functions.

Member Function Documentation

◆ constrain()

virtual void libMesh::System::Constraint::constrain ( )
pure virtual

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.

Implemented in MyConstraint.

Referenced by libMesh::System::user_constrain().


The documentation for this class was generated from the following file: