42 #include "NLPInterfacePack_test_basis_system.hpp"
43 #include "NLPInterfacePack_NLPFirstOrder.hpp"
44 #include "AbstractLinAlgPack_BasisSystem.hpp"
45 #include "AbstractLinAlgPack_BasisSystemTester.hpp"
46 #include "AbstractLinAlgPack_BasisSystemTesterSetOptions.hpp"
47 #include "AbstractLinAlgPack_MatrixOpNonsing.hpp"
49 bool NLPInterfacePack::test_basis_system(
51 ,BasisSystem *basis_sys
56 namespace mmp = MemMngPack;
63 NLPFirstOrder::mat_fcty_ptr_t::element_type::obj_ptr_t
64 Gc = ( m ? nlp->factory_Gc()->create() : Teuchos::null );
70 nlp->set_Gc(Gc.get());
75 BasisSystem::mat_nonsing_fcty_ptr_t::element_type::obj_ptr_t
76 C = ( m ? basis_sys->factory_C()->create() : Teuchos::null);
77 BasisSystem::mat_fcty_ptr_t::element_type::obj_ptr_t
78 D = ( m && n > m && basis_sys->factory_C().get() ? basis_sys->factory_C()->create() : Teuchos::null);
79 BasisSystem::mat_fcty_ptr_t::element_type::obj_ptr_t
80 GcUP = ( m && n > m && basis_sys->factory_GcUP().get() ? basis_sys->factory_GcUP()->create() : Teuchos::null);
83 basis_sys->update_basis(
94 BasisSystemTesterSetOptions
95 opt_setter(&basis_sys_tester);
96 opt_setter.set_options(*options);
98 const bool result = basis_sys_tester.test_basis_system(