|
escript
Revision_
|
Give a short description of what AbstractTransportProblem does. More...
#include <AbstractTransportProblem.h>
Public Member Functions | |
| AbstractTransportProblem () | |
| Default constructor for AbstractTransportProblem. More... | |
| AbstractTransportProblem (const int blocksize, const FunctionSpace &functionspace) | |
| virtual | ~AbstractTransportProblem () |
| Destructor. More... | |
| int | isEmpty () const |
| FunctionSpace | getFunctionSpace () const |
| returns the column function space More... | |
| int | getBlockSize () const |
| returns the block size More... | |
| Data | solve (Data &u0, Data &source, const double dt, boost::python::object &options) |
| returns the solution u for a time step dt>0 with initial value u0 at time t=0 More... | |
| virtual void | resetTransport (bool preserveSolverData) const |
| resets the transport operator typically as they have been updated. More... | |
| void | insertConstraint (Data &source, Data &q, Data &r) |
| inserts constraint u_{,t}=r where q>0 into the problem More... | |
| virtual double | getSafeTimeStepSize () const |
| virtual double | getUnlimitedTimeStepSize () const |
Private Member Functions | |
| virtual void | setToSolution (Data &out, Data &u0, Data &source, double dt, boost::python::object &options) |
| sets solution out by time step dt. More... | |
| virtual void | copyConstraint (Data &source, Data &q, Data &r) |
| copy constraint u_{,t}=r where q>0 into the problem it can be assumed that q and r are not empty and have appropriate shape and function space. More... | |
Private Attributes | |
| int | m_empty |
| int | m_blocksize |
| FunctionSpace | m_functionspace |
Give a short description of what AbstractTransportProblem does.
Description: Give a detailed description of AbstractTransportProblem
Template Parameters: For templates describe any conditions that the parameters used in the template must satisfy
| escript::AbstractTransportProblem::AbstractTransportProblem | ( | ) |
Default constructor for AbstractTransportProblem.
Description: Default constructor for AbstractTransportProblem
Preconditions: Describe any preconditions
Throws: Describe any exceptions thrown
References m_empty.
| escript::AbstractTransportProblem::AbstractTransportProblem | ( | const int | blocksize, |
| const FunctionSpace & | functionspace | ||
| ) |
References ESYS_ASSERT.
|
virtual |
Destructor.
|
privatevirtual |
copy constraint u_{,t}=r where q>0 into the problem it can be assumed that q and r are not empty and have appropriate shape and function space.
Reimplemented in paso::TransportProblem.
Referenced by getBlockSize(), and insertConstraint().
|
inline |
returns the block size
References copyConstraint(), ESCRIPT_DLL_API, getSafeTimeStepSize(), getUnlimitedTimeStepSize(), insertConstraint(), isEmpty(), m_blocksize, resetTransport(), setToSolution(), and solve().
Referenced by insertConstraint(), and solve().
|
inline |
returns the column function space
References ESCRIPT_DLL_API, isEmpty(), and m_functionspace.
Referenced by paso::TransportProblem::copyConstraint(), insertConstraint(), paso::TransportProblem::setToSolution(), and solve().
|
virtual |
Reimplemented in paso::TransportProblem.
Referenced by BOOST_PYTHON_MODULE(), and getBlockSize().
|
virtual |
Reimplemented in paso::TransportProblem.
Referenced by BOOST_PYTHON_MODULE(), and getBlockSize().
inserts constraint u_{,t}=r where q>0 into the problem
References copyConstraint(), escript::Data::expand(), getBlockSize(), escript::Data::getDataPointRank(), escript::Data::getDataPointShape(), escript::Data::getDataPointSize(), getFunctionSpace(), isEmpty(), and escript::Data::isEmpty().
Referenced by BOOST_PYTHON_MODULE(), and getBlockSize().
| int escript::AbstractTransportProblem::isEmpty | ( | ) | const |
References m_empty.
Referenced by BOOST_PYTHON_MODULE(), getBlockSize(), getFunctionSpace(), insertConstraint(), and solve().
|
virtual |
resets the transport operator typically as they have been updated.
Reimplemented in paso::TransportProblem.
Referenced by BOOST_PYTHON_MODULE(), and getBlockSize().
|
privatevirtual |
sets solution out by time step dt.
Reimplemented in paso::TransportProblem.
Referenced by getBlockSize(), and solve().
| Data escript::AbstractTransportProblem::solve | ( | Data & | u0, |
| Data & | source, | ||
| const double | dt, | ||
| boost::python::object & | options | ||
| ) |
returns the solution u for a time step dt>0 with initial value u0 at time t=0
References getBlockSize(), escript::Data::getDataPointSize(), getFunctionSpace(), escript::Data::getFunctionSpace(), isEmpty(), and setToSolution().
Referenced by BOOST_PYTHON_MODULE(), and getBlockSize().
|
private |
Referenced by getBlockSize().
|
private |
Referenced by AbstractTransportProblem(), and isEmpty().
|
private |
Referenced by getFunctionSpace().
1.8.13