Public Member Functions | |
| Handle () | |
| Handle (const RCP< PointerType > &_ptr) | |
| Handle (Handleable< PointerType > *rawPtr) | |
| const RCP< PointerType > & | ptr () const |
| RCP< PointerType > & | ptr () |
| void | print (std::ostream &os) const |
| std::string | description () const |
| std::string | fallbackDescription () const |
| int | verb () const |
| void | setVerb (int v) |
Private Attributes | |
| RCP< PointerType > | ptr_ |
Class Playa::Handle provides a general implementation of the common features of reference-counted handles.
Definition at line 109 of file PlayaHandle.hpp.
| Playa::Handle< PointerType >::Handle | ( | ) | [inline] |
Empty ctor
Definition at line 113 of file PlayaHandle.hpp.
| Playa::Handle< PointerType >::Handle | ( | const RCP< PointerType > & | _ptr | ) | [inline] |
Construct from a smart pointer
Definition at line 116 of file PlayaHandle.hpp.
| Playa::Handle< PointerType >::Handle | ( | Handleable< PointerType > * | rawPtr | ) | [inline] |
Construct from a raw pointer to a Handleable.
Definition at line 119 of file PlayaHandle.hpp.
| std::string Playa::Handle< PointerType >::description | ( | ) | const [inline] |
Return a short descriptive std::string using the Describable interface. If the contents of the handle cannot be downcasted or crosscasted to a Describable*, an exception will be thrown.
Reimplemented in Playa::Vector< Scalar >, Playa::Vector< double >, and Sundance::CellPredicate.
Definition at line 170 of file PlayaHandle.hpp.
Referenced by Sundance::Assembler::configureMatrix(), Playa::EpetraVectorType::createGhostImporter(), Sundance::LabeledSubsetCellFilter::description(), Sundance::SubsetCellFilter::description(), and Sundance::SubsetCellFilter::SubsetCellFilter().
| std::string Playa::Handle< PointerType >::fallbackDescription | ( | ) | const [inline] |
Write a fallback description to be used in objects that are neither named, printable, or describable
Definition at line 182 of file PlayaHandle.hpp.
| void Playa::Handle< PointerType >::print | ( | std::ostream & | os | ) | const [inline] |
Print to a stream. This tries to use, in order, the Printable, Describable, and fallback forms of output.
Reimplemented in Playa::Vector< Scalar >, and Playa::Vector< double >.
Definition at line 158 of file PlayaHandle.hpp.
References Playa::Printable::print().
Referenced by Playa::NonlinearOperatorBase< double >::getJacobian(), std::operator<<(), and Sundance::LinearSolveDriver::solve().
| const RCP<PointerType>& Playa::Handle< PointerType >::ptr | ( | ) | const [inline] |
Read-only access to the underlying smart pointer.
Definition at line 122 of file PlayaHandle.hpp.
Referenced by Sundance::FieldWriter::addField(), Sundance::FunctionalPolynomial::addPoly(), Sundance::HomogeneousDOFMap::allocate(), Epetra::Epetra_PlayaOperator::Apply(), Epetra::Epetra_PlayaOperator::ApplyInverse(), Sundance::basisRestrictableToBoundary(), Sundance::CFMeshPair::CFMeshPair(), Sundance::SymbolicTransformation::chooseSign(), Sundance::Complex(), Sundance::NLOp::computeFunctionValue(), Sundance::NLOp::computeJacobianAndFunction(), Sundance::NLOp::computeSensitivities(), Sundance::Assembler::configureVectorBlock(), Sundance::copyDiscreteFunction(), Playa::EpetraVectorType::createGhostImporter(), Playa::SerialVectorType::createGhostImporter(), Playa::EpetraVectorType::createMatrixFactory(), Sundance::MeshSourceBase::createMesh(), Playa::denseSolve(), Playa::denseSVD(), Sundance::describeFunction(), Sundance::DiscreteFunction::discFunc(), Sundance::Expr::divide(), Epetra::Epetra_PlayaOperator::Epetra_PlayaOperator(), Playa::EpetraVector::EpetraVector(), Sundance::ExprFieldWrapper::ExprFieldWrapper(), Sundance::PeanoMesher2D::fillMesh(), Sundance::PeanoMesher3D::fillMesh(), Sundance::HNMesher2D::fillMesh(), Sundance::HNMesher3D::fillMesh(), Sundance::TrivialGrouper::findGroups(), Sundance::FunctionSupportResolver::flattenSpectral(), Sundance::EquationSet::flattenSpectral(), Sundance::SumOfIntegrals::funcsOnRegion(), Sundance::FunctionalPolynomial::FunctionalPolynomial(), Sundance::FunctionSupportResolver::FunctionSupportResolver(), Playa::BasicLMBFGSDirection::generateDirection(), Sundance::BasisFamily::getBasisTopology(), Playa::SerialVector::getConcrete(), Playa::EpetraVector::getConcrete(), Playa::EpetraMatrix::getConcrete(), Playa::EpetraVector::getConcretePtr(), Playa::EpetraMatrix::getConcretePtr(), Sundance::CurveIntegralCalc::getCurveQuadPoints_polygon(), Sundance::getDiscreteFunctionMesh(), Sundance::getDiscreteFunctionVector(), Sundance::getDiscreteSpace(), Sundance::EvaluatableExpr::getEvalExpr(), Sundance::DOFMapBuilder::getMaxCellFilter(), Sundance::VectorBasisComponent::getReferenceDOFs(), Sundance::SymbolicTransformation::getScalar(), Sundance::UserDefOp::getScalarArgs(), Sundance::CurveIntegralCalc::getSurfQuadPoints(), Playa::SerialGhostImporter::importView(), Sundance::MatrixVectorAssemblyKernel::init(), Sundance::DiscreteSpace::initImporter(), Sundance::SubsetCellFilter::internalGetCells(), Sundance::CFMeshPair::isEmpty(), Sundance::SymbolicFuncElement::isIndependentOf(), Sundance::SymbolicFuncElement::isLinearForm(), Sundance::DOFMapBuilder::isWholeDomain(), Sundance::Expr::lessThan(), Sundance::makeDeriv(), Sundance::LinearEigenproblem::makeEigenfunctions(), Playa::makeEpetraDiagonalMatrix(), Sundance::LinearEigenproblem::makeMassProb(), Sundance::Assembler::matNeedsConfiguration(), Sundance::Expr::multiply(), Sundance::FunctionalPolynomial::multiplyPoly(), Sundance::FunctionalPolynomial::multiplyScalar(), Playa::NOXSolver::NOXSolver(), Sundance::VectorBasisComponent::nReferenceDOFsWithFacets(), Sundance::VectorBasisComponent::nReferenceDOFsWithoutFacets(), Sundance::OrderedHandle< CellFilterStub >::operator<(), Sundance::CellPredicate::operator<(), Sundance::CellSet::operator<(), Sundance::operator<<(), Sundance::Expr::operator<<(), Playa::Vector< Scalar >::operator=(), Sundance::Expr::operator[](), Playa::InitTraits< SimpleMV, LinearOperator< double > >::opPtr(), Sundance::pow(), Sundance::SymbPreprocessor::processInputFuncs(), Sundance::SymbPreprocessor::processInputParams(), Sundance::VectorBasisComponent::refEval(), Playa::SerialVector::SerialVector(), Sundance::setDiscreteFunctionVector(), Sundance::SymbPreprocessor::setupVariations(), Playa::PCGSolver::solve(), Sundance::LinearSolveDriver::solve(), Playa::BelosSolver::solve(), Playa::PCGSolver::solveUnprec(), Playa::SerialVector::space(), Playa::EpetraVector::space(), Sundance::SubmaximalNodalDOFMap::SubmaximalNodalDOFMap(), Sundance::SymbolicFunc::substituteZero(), Sundance::Expr::sum(), Sundance::VectorBasisComponent::supportsCellTypePair(), Sundance::DOFMapBuilder::testCellFilters(), Sundance::unfoldPeriodicMesh(), Sundance::DOFMapBuilder::unkCellFilters(), Sundance::VectorBasisComponent::VectorBasisComponent(), and Sundance::VectorFillingAssemblyKernel::VectorFillingAssemblyKernel().
| RCP<PointerType>& Playa::Handle< PointerType >::ptr | ( | ) | [inline] |
Read-write access to the underlying smart pointer.
Definition at line 125 of file PlayaHandle.hpp.
| void Playa::Handle< PointerType >::setVerb | ( | int | v | ) | [inline] |
Set the verbosity
Definition at line 207 of file PlayaHandle.hpp.
References Playa::ObjectWithVerbosity::setVerb().
| int Playa::Handle< PointerType >::verb | ( | ) | const [inline] |
Return the verbosity
Definition at line 196 of file PlayaHandle.hpp.
References Playa::ObjectWithVerbosity::verb().
Referenced by Sundance::CellIterator::CellIterator().
RCP<PointerType> Playa::Handle< PointerType >::ptr_ [private] |
Definition at line 153 of file PlayaHandle.hpp.
Referenced by Playa::Handle< QuadratureFamilyStub >::ptr().