#include <jive/solver/PointConstrainer.h>
virtual jive::solver::PointConstrainer::~PointConstrainer |
( |
| ) |
|
|
protectedvirtual |
virtual void jive::solver::PointConstrainer::update |
( |
| ) |
|
|
virtual |
virtual bool jive::solver::PointConstrainer::updated |
( |
| ) |
const |
|
virtual |
virtual void jive::solver::PointConstrainer::getRhs |
( |
const Vector & |
g, |
|
|
const Vector & |
f |
|
) |
| const |
|
virtual |
Computes a right-hand side vector for the constrained system of equations given a right-hand side vector for the original system of equations. The output parameter g will be set to the constrained right-hand side vector. The input parameter f should contain the original right-hand side vector.
Before calling this function you must have called the function apply()
, unless the coefficient matrix of the original system of equations and the constraints have not been modified.
- Parameters
-
g | - the right-hand side vector for the constrained system of equations. |
f | - the right-hand side vector for the original system of equations. |
- Precondition
g.size() == getOutputMatrix()->shape()[0] &&
f.size() == getInputMatrix()->shape()[0]
Implements jive::solver::Constrainer.
virtual void jive::solver::PointConstrainer::getLhs |
( |
const Vector & |
x, |
|
|
const Vector & |
y |
|
) |
| const |
|
virtual |
virtual void jive::solver::PointConstrainer::initLhs |
( |
const Vector & |
x, |
|
|
const Vector & |
y |
|
) |
| const |
|
virtual |
virtual Constraints* jive::solver::PointConstrainer::getConstraints |
( |
| ) |
const |
|
virtual |
virtual AbstractMatrix* jive::solver::PointConstrainer::getInputMatrix |
( |
| ) |
const |
|
virtual |
virtual AbstractMatrix* jive::solver::PointConstrainer::getOutputMatrix |
( |
| ) |
const |
|
virtual |
static void jive::solver::PointConstrainer::declare |
( |
| ) |
|
|
static |
virtual void jive::solver::PointConstrainer::doUpdate_ |
( |
| ) |
|
|
protectedpure virtual |
const char* jive::solver::PointConstrainer::TYPE_NAME |
|
static |
const char* jive::solver::PointConstrainer::MODE_PROP |
|
static |
const int jive::solver::PointConstrainer::NEW_RVALUES_ |
|
staticprotected |
const int jive::solver::PointConstrainer::NEW_SLAVE_DOFS_ |
|
staticprotected |
const int jive::solver::PointConstrainer::NEW_MAT_VALUES_ |
|
staticprotected |
const int jive::solver::PointConstrainer::NEW_MAT_STRUCT_ |
|
staticprotected |
Ref<SparseMatrixObj> jive::solver::PointConstrainer::output_ |
|
protected |
BoolVector jive::solver::PointConstrainer::dofMask_ |
|
protected |
IdxVector jive::solver::PointConstrainer::slaveDofs_ |
|
protected |
Vector jive::solver::PointConstrainer::rvalues_ |
|
protected |
Vector jive::solver::PointConstrainer::rhs_ |
|
protected |
int jive::solver::PointConstrainer::events_ |
|
protected |