Public Member Functions | |
PoissonBoltzmannOp (int nLocal, const VectorType< double > &vecType) | |
Vector< double > | getInitialGuess () const |
Vector< double > | exactSoln () const |
Handleable interface | |
PoissonBoltzmannJacobian | J_ |
RCP< GhostImporter< double > > | importer_ |
double | uLeftBC_ |
double | uRightBC_ |
LinearOperator< double > | computeJacobianAndFunction (Vector< double > &functionValue) const |
Definition at line 16 of file PlayaPoissonBoltzmannOp.hpp.
Playa::PoissonBoltzmannOp::PoissonBoltzmannOp | ( | int | nLocal, | |
const VectorType< double > & | vecType | |||
) |
Definition at line 18 of file PlayaPoissonBoltzmannOp.cpp.
References Playa::VectorSpace< Scalar >::baseGlobalNaturalIndex(), Playa::VectorType< Scalar >::createGhostImporter(), Playa::OperatorBuilder< Scalar >::domain(), Playa::MPIComm::getNProc(), Playa::MPIComm::getRank(), importer_, J_, Playa::VectorSpace< Scalar >::numLocalElements(), Playa::OperatorBuilder< Scalar >::range(), Playa::NonlinearOperatorBase< double >::setDomainAndRange(), and Playa::MPIComm::world().
LinearOperator< double > Playa::PoissonBoltzmannOp::computeJacobianAndFunction | ( | Vector< double > & | functionValue | ) | const [protected, virtual] |
Implements Playa::NonlinearOperatorBase< double >.
Definition at line 59 of file PlayaPoissonBoltzmannOp.cpp.
References Playa::VectorSpace< Scalar >::baseGlobalNaturalIndex(), Playa::VectorSpace< Scalar >::createMember(), Playa::NonlinearOperatorBase< double >::currentEvalPt(), Playa::VectorSpace< Scalar >::dim(), Playa::OperatorBuilder< Scalar >::domain(), Playa::PoissonBoltzmannJacobian::getOp(), Playa::PoissonBoltzmannJacobian::h(), importer_, J_, Playa::VectorSpace< Scalar >::numLocalElements(), Playa::Out::os(), Playa::OperatorBuilder< Scalar >::range(), Playa::Out::root(), Playa::PoissonBoltzmannJacobian::setEvalPoint(), uLeftBC_, and uRightBC_.
Vector< double > Playa::PoissonBoltzmannOp::exactSoln | ( | ) | const |
Definition at line 106 of file PlayaPoissonBoltzmannOp.cpp.
References Playa::VectorSpace< Scalar >::baseGlobalNaturalIndex(), Playa::VectorSpace< Scalar >::createMember(), Playa::OperatorBuilder< Scalar >::domain(), Playa::PoissonBoltzmannJacobian::h(), J_, Playa::VectorSpace< Scalar >::numLocalElements(), Playa::Out::os(), and Playa::Out::root().
Vector< double > Playa::PoissonBoltzmannOp::getInitialGuess | ( | ) | const [virtual] |
Implements Playa::NonlinearOperatorBase< double >.
Definition at line 48 of file PlayaPoissonBoltzmannOp.cpp.
References Playa::VectorSpace< Scalar >::createMember(), Playa::OperatorBuilder< Scalar >::domain(), J_, and Playa::Vector< Scalar >::setToConstant().
RCP<GhostImporter<double> > Playa::PoissonBoltzmannOp::importer_ [private] |
Definition at line 42 of file PlayaPoissonBoltzmannOp.hpp.
Referenced by computeJacobianAndFunction(), and PoissonBoltzmannOp().
PoissonBoltzmannJacobian Playa::PoissonBoltzmannOp::J_ [mutable, private] |
Definition at line 40 of file PlayaPoissonBoltzmannOp.hpp.
Referenced by computeJacobianAndFunction(), exactSoln(), getInitialGuess(), and PoissonBoltzmannOp().
double Playa::PoissonBoltzmannOp::uLeftBC_ [private] |
Definition at line 44 of file PlayaPoissonBoltzmannOp.hpp.
Referenced by computeJacobianAndFunction().
double Playa::PoissonBoltzmannOp::uRightBC_ [private] |
Definition at line 46 of file PlayaPoissonBoltzmannOp.hpp.
Referenced by computeJacobianAndFunction().