MOOCHO (Single Doxygen Collection)
Version of the Day
|
Coordinate variable reduction subclass. More...
#include <ConstrainedOptPack_DecompositionSystemCoordinate.hpp>
Constructors / initializers | |
DecompositionSystemCoordinate (const VectorSpace::space_ptr_t &space_x=Teuchos::null, const VectorSpace::space_ptr_t &space_c=Teuchos::null, const basis_sys_ptr_t &basis_sys=Teuchos::null, const basis_sys_tester_ptr_t &basis_sys_tester=Teuchos::null, EExplicitImplicit D_imp=MAT_IMP_AUTO, EExplicitImplicit Uz_imp=MAT_IMP_AUTO) | |
Overridden from DecompositionSystem | |
const mat_fcty_ptr_t | factory_Y () const |
const mat_nonsing_fcty_ptr_t | factory_R () const |
const mat_fcty_ptr_t | factory_Uy () const |
Overridden from DecompositionSystemVarReductImp | |
mat_nonsing_fcty_ptr_t::element_type::obj_ptr_t | uninitialize_matrices (std::ostream *out, EOutputLevel olevel, MatrixOp *Y, MatrixOpNonsing *R, MatrixOp *Uy) const |
void | initialize_matrices (std::ostream *out, EOutputLevel olevel, const mat_nonsing_fcty_ptr_t::element_type::obj_ptr_t &C, const mat_fcty_ptr_t::element_type::obj_ptr_t &D, MatrixOp *Y, MatrixOpNonsing *R, MatrixOp *Uy, EMatRelations mat_rel) const |
void | print_update_matrices (std::ostream &out, const std::string &leading_str) const |
Additional Inherited Members | |
Public Types inherited from ConstrainedOptPack::DecompositionSystemVarReductImp | |
typedef DecompositionSystem | inherited |
typedef Teuchos::RCP< const BasisSystem > | basis_sys_ptr_t |
Public Types inherited from ConstrainedOptPack::DecompositionSystemVarReduct | |
enum | EExplicitImplicit { MAT_IMP_EXPLICIT, MAT_IMP_IMPLICIT, MAT_IMP_AUTO } |
Public Types inherited from ConstrainedOptPack::DecompositionSystem | |
enum | EOutputLevel { PRINT_NONE = 0, PRINT_BASIC_INFO = 1, PRINT_MORE_INFO = 2, PRINT_VECTORS = 3, PRINT_EVERY_THING = 4 } |
Enumeration for the amount of output to create from update_decomp() . More... | |
enum | ERunTests { RUN_TESTS, NO_TESTS } |
Enumeration for if to run internal tests or not. More... | |
enum | EMatRelations { MATRICES_INDEP_IMPS, MATRICES_ALLOW_DEP_IMPS } |
typedef Teuchos::RCP< const Teuchos::AbstractFactory < MatrixOpNonsing > > | mat_nonsing_fcty_ptr_t |
typedef Teuchos::RCP< const Teuchos::AbstractFactory < MatrixOp > > | mat_fcty_ptr_t |
Public Member Functions inherited from ConstrainedOptPack::DecompositionSystemVarReductImp | |
void | initialize (const VectorSpace::space_ptr_t &space_x, const VectorSpace::space_ptr_t &space_c, const basis_sys_ptr_t &basis_sys) |
Initialize. More... | |
STANDARD_COMPOSITION_MEMBERS (BasisSystemTester, basis_sys_tester) | |
Set the BasisSystem tester object. More... | |
DecompositionSystemVarReductImp (const VectorSpace::space_ptr_t &space_x, const VectorSpace::space_ptr_t &space_c, const basis_sys_ptr_t &basis_sys, const basis_sys_tester_ptr_t &basis_sys_tester, EExplicitImplicit D_imp, EExplicitImplicit Uz_imp) | |
Construct a variable reduction decomposition. More... | |
const VectorSpace::space_ptr_t & | space_x () const |
const VectorSpace::space_ptr_t & | space_c () const |
const basis_sys_ptr_t & | basis_sys () const |
void | get_basis_matrices (std::ostream *out, EOutputLevel olevel, ERunTests test_what, MatrixOp *Z, MatrixOp *Y, MatrixOpNonsing *R, MatrixOp *Uz, MatrixOp *Uy, Teuchos::RCP< MatrixOpNonsing > *C_ptr, Teuchos::RCP< MatrixOp > *D_ptr) |
Called by client to uninitialize decomposition matrices in prepairation for selecting a different basis. More... | |
void | set_basis_matrices (std::ostream *out, EOutputLevel olevel, ERunTests test_what, const Teuchos::RCP< MatrixOpNonsing > &C_ptr, const Teuchos::RCP< MatrixOp > &D_ptr, MatrixOp *Uz, const basis_sys_ptr_t &basis_sys=Teuchos::null) |
Set updated basis matrices along with a possibly updated basis system object. More... | |
EExplicitImplicit | D_imp_used () const |
Get the type of D matrix to be used or is being used (returns MAT_IMP_EXPLICIT or MAT_IMP_IMPLICIT only). More... | |
size_type | n () const |
Returns this->space_x()->dim() . More... | |
size_type | m () const |
Returns this->space_c()->dim() . More... | |
size_type | r () const |
Returns this->basis_sys()->equ_decomp().size() . More... | |
const VectorSpace::space_ptr_t | space_range () const |
Returns this->space_x()->sub_space(var_dep) More... | |
const VectorSpace::space_ptr_t | space_null () const |
Returns this->space_x()->sub_space(var_indep) More... | |
const mat_fcty_ptr_t | factory_Z () const |
const mat_fcty_ptr_t | factory_Uz () const |
void | update_decomp (std::ostream *out, EOutputLevel olevel, ERunTests test_what, const MatrixOp &Gc, MatrixOp *Z, MatrixOp *Y, MatrixOpNonsing *R, MatrixOp *Uz, MatrixOp *Uy, EMatRelations mat_rel) const |
Preconditions: More... | |
void | print_update_decomp (std::ostream &out, const std::string &leading_str) const |
Range1D | var_indep () const |
Range1D | var_dep () const |
Public Member Functions inherited from ConstrainedOptPack::DecompositionSystemVarReduct | |
STANDARD_MEMBER_COMPOSITION_MEMBERS (EExplicitImplicit, D_imp) | |
Set whether to use explicit or implicit D = -inv(C)*N matrix. More... | |
STANDARD_MEMBER_COMPOSITION_MEMBERS (EExplicitImplicit, Uz_imp) | |
Set whether to use explicit or implicit Uz = F + E * D matrix. More... | |
DecompositionSystemVarReduct (EExplicitImplicit D_imp=MAT_IMP_AUTO, EExplicitImplicit Uz_imp=MAT_IMP_AUTO) | |
Public Member Functions inherited from ConstrainedOptPack::DecompositionSystem | |
virtual | ~DecompositionSystem () |
virtual Range1D | equ_decomp () const |
Returns the range of the decomposed equalities. More... | |
virtual Range1D | equ_undecomp () const |
Returns the range of the undecomposed equalities. More... | |
Protected Member Functions inherited from ConstrainedOptPack::DecompositionSystemVarReductImp | |
virtual void | update_D_imp_used (EExplicitImplicit *D_imp_used) const |
Update D_imp_used. More... | |
Coordinate variable reduction subclass.
This is the interface for the coordinate variable reduction decomposition where:
Y = [ I ] (class MatrixIdentConcatStd with MatrixZero) [ 0 ] R = Gc(:,con_decomp)'*Y = [ C N ] * [ I ] = C [ 0 ] Uy = Gc(:,con_undecomp)'*Y = [ E F ] * [ I ] = E [ 0 ]
The solution of the
For now the copy constructor and the assignment operator are not defined.
Definition at line 70 of file ConstrainedOptPack_DecompositionSystemCoordinate.hpp.
ConstrainedOptPack::DecompositionSystemCoordinate::DecompositionSystemCoordinate | ( | const VectorSpace::space_ptr_t & | space_x = Teuchos::null , |
const VectorSpace::space_ptr_t & | space_c = Teuchos::null , |
||
const basis_sys_ptr_t & | basis_sys = Teuchos::null , |
||
const basis_sys_tester_ptr_t & | basis_sys_tester = Teuchos::null , |
||
EExplicitImplicit | D_imp = MAT_IMP_AUTO , |
||
EExplicitImplicit | Uz_imp = MAT_IMP_AUTO |
||
) |
Definition at line 56 of file ConstrainedOptPack_DecompositionSystemCoordinate.cpp.
|
virtual |
Implements ConstrainedOptPack::DecompositionSystem.
Definition at line 72 of file ConstrainedOptPack_DecompositionSystemCoordinate.cpp.
|
virtual |
Implements ConstrainedOptPack::DecompositionSystem.
Definition at line 81 of file ConstrainedOptPack_DecompositionSystemCoordinate.cpp.
|
virtual |
Implements ConstrainedOptPack::DecompositionSystem.
Definition at line 89 of file ConstrainedOptPack_DecompositionSystemCoordinate.cpp.
|
protectedvirtual |
Implements ConstrainedOptPack::DecompositionSystemVarReductImp.
Definition at line 97 of file ConstrainedOptPack_DecompositionSystemCoordinate.cpp.
|
protectedvirtual |
Implements ConstrainedOptPack::DecompositionSystemVarReductImp.
Definition at line 134 of file ConstrainedOptPack_DecompositionSystemCoordinate.cpp.
|
protectedvirtual |
Implements ConstrainedOptPack::DecompositionSystemVarReductImp.
Definition at line 188 of file ConstrainedOptPack_DecompositionSystemCoordinate.cpp.