DOpE
|
#include <constraints.h>
Public Member Functions | |
Constraints (const std::vector< std::vector< unsigned int > > &local_control_constraints, unsigned int global_constraints) | |
Constraints (const Constraints &c) | |
Constraints () | |
void | ReInit (std::vector< unsigned int > &control_dofs_per_block) |
unsigned int | n_dofs (std::string name) const |
const std::vector< unsigned int > & | GetDoFsPerBlock (std::string name) const |
This class is designed to describe the constraints imposed on the problem.
|
inline |
Constructor for Constraint Descriptions
local_control_constraints | Each entry in the vector corresponds to one block of the control variable. (Here blocks refer to the blocks in a deal.II BlockVector) Each entry consist of a vector of length two. In these, the first unsigned int describes how many local entries in this Block are locally constrained, and the second entry defines how many constraints are given on this quantity. |
global_constraints | The number of global constraints on the control and state variable. |
|
inline |
Copy Constructor
|
inline |
Constructor to be used when no constraints are present.
|
inline |
Returns the DoFs Per Block Vector
|
inline |
Returns the total number of local in time constraints.
|
inline |
Reinitialize the required constraints.