|
Thyra Package Browser (Single Doxygen Collection) Version of the Day
|
00001 #include "Thyra_ModelEvaluatorBase_decl.hpp" 00002 00003 00004 namespace Thyra { 00005 00006 00007 std::string 00008 ModelEvaluatorBase::DerivativeSupport::description() const 00009 { 00010 std::ostringstream oss; 00011 oss << "DerivativeSupport{"; 00012 if (none()) { 00013 oss << "none"; 00014 } 00015 else { 00016 bool wroteOutput = false; 00017 if (supportsLinearOp_) { 00018 oss << "DERIV_LINEAR_OP"; 00019 wroteOutput = true; 00020 } 00021 if (supportsMVByCol_) { 00022 oss << (wroteOutput?",":"") << toString(DERIV_MV_BY_COL); 00023 wroteOutput = true; 00024 } 00025 if (supportsTransMVByRow_) { 00026 oss << (wroteOutput?",":"") << toString(DERIV_TRANS_MV_BY_ROW); 00027 wroteOutput = true; 00028 } 00029 } 00030 oss << "}"; 00031 return oss.str(); 00032 } 00033 00034 00035 } // namespace Thyra 00036 00037 00038 #ifdef HAVE_THYRA_EXPLICIT_INSTANTIATION 00039 00040 00041 #include "Thyra_ModelEvaluatorBase_def.hpp" 00042 #include "Teuchos_ExplicitInstantiationHelpers.hpp" 00043 00044 namespace Thyra { 00045 00046 TEUCHOS_MACRO_TEMPLATE_INSTANT_SCALAR_TYPES(THYRA_MODEL_EVALUATOR_BASE_INSTANT) 00047 00048 } // namespace Thyra 00049 00050 #endif // HAVE_THYRA_EXPLICIT_INSTANTIATION
1.7.4