10#ifndef ROL_SCHURCOMPLEMENT_H
11#define ROL_SCHURCOMPLEMENT_H
64 ROL::Ptr<OP> &C, ROL::Ptr<OP> &D,
65 ROL::Ptr<V> &scratch1 ) :
66 A_(A),
B_(B),
C_(C),
D_(D), scratch1_(scratch1) {
68 U_ = ROL::makePtr<UPPER>(
B_);
69 L_ = ROL::makePtr<LOWER>(
C_);
75 scratch1_(scratch1) {}
79 A_ = op.getOperator(0,0);
80 B_ = op.getOperator(0,1);
81 C_ = op.getOperator(1,0);
82 D_ = op.getOperator(1,1);
84 U_ = ROL::makePtr<UPPER>(
B_);
85 L_ = ROL::makePtr<LOWER>(
C_);
92 L_->applyInverse(Hv,v,tol);
100 U_->applyInverse(Hv,v,tol);
104 return ROL::makePtr<BlockOperator2Determinant<Real>>(
A_,
B_,
C_,
D_,scratch1_);
108 D_->applyInverse(Hv2,v2,tol);
Provides the interface to apply a 2x2 block unit lower operator to a partitioned vector.
Provides the interface to apply a 2x2 block unit upper operator to a partitioned vector.
Provides the interface to apply a 2x2 block operator to a partitioned vector.
Provides the interface to apply a linear operator.
Defines the linear algebra of vector space on a generic partitioned vector.
Given a 2x2 block operator, perform the Schur reduction and return the decoupled system components.
BlockOperator2UnitUpper UPPER
void applyUpperInverse(Vector< Real > &Hv, const Vector< Real > &v, Real &tol)
void applyLower(Vector< Real > &Hv, const Vector< Real > &v, Real &tol)
LinearOperator< Real > OP
ROL::Ptr< OP > getS11(void)
BlockOperator2UnitLower LOWER
void applyUpper(Vector< Real > &Hv, const Vector< Real > &v, Real &tol)
void applyLowerInverse(Vector< Real > &Hv, const Vector< Real > &v, Real &tol)
PartitionedVector< Real > PV
SchurComplement(BlockOperator2< Real > &op, ROL::Ptr< Vector< Real > > &scratch1)
void solve2(Vector< Real > &Hv2, const Vector< Real > &v2, Real &tol)
SchurComplement(ROL::Ptr< OP > &A, ROL::Ptr< OP > &B, ROL::Ptr< OP > &C, ROL::Ptr< OP > &D, ROL::Ptr< V > &scratch1)
Defines the linear algebra or vector space interface.