esys.pasowrap Package

Classes

class esys.pasowrap.OperatorAdapter

Bases: esys.escript.escriptcpp.Operator

A concrete class representing an operator. For more details, please see the c++ documentation.

isEmpty((Operator)arg1) → int :
Return type:bool
Returns:True if matrix is empty
nullifyRowsAndCols((OperatorAdapter)arg1, (Data)arg2, (Data)arg3, (float)arg4) → None
of((Operator)arg1, (Data)right) → Data :

matrix*vector multiplication

print_matrix_info((OperatorAdapter)arg1[, (bool)full=False]) → None :

prints information about a system matrix

resetValues((OperatorAdapter)arg1) → None :

resets the matrix entries

saveHB((OperatorAdapter)arg1, (str)filename) → None :

writes the matrix to a file using the Harwell-Boeing file format

saveMM((OperatorAdapter)arg1, (str)fileName) → None :

writes the matrix to a file using the Matrix Market file format

solve((Operator)arg1, (Data)in, (object)options) → Data :
Returns:the solution u of the linear system this*u=in
Parameters:in (Data) –
class esys.pasowrap.TransportProblemAdapter

Bases: esys.escript.escriptcpp.TransportProblem

getSafeTimeStepSize((TransportProblemAdapter)arg1) → float
getUnlimitedTimeStepSize((TransportProblemAdapter)arg1) → float
insertConstraint((TransportProblem)source, (Data)q, (Data)r, (Data)factor) → None :

inserts constraint u_{,t}=r where q>0 into the problem using a weighting factor

isEmpty((TransportProblem)arg1) → int :
Return type:int
reset((TransportProblem)arg1) → None :

resets the transport operator typically as they have been updated.

resetTransport((TransportProblemAdapter)arg1) → None :

resets the transport operator typically as they have been updated

resetValues((TransportProblem)arg1) → None
solve((TransportProblem)arg1, (Data)u0, (Data)source, (float)dt, (object)options) → Data :

returns the solution u for a time step dt>0 with initial value u0

Return type:Data
Parameters:source (Data) –

Functions

Others

  • __builtins__
  • __copyright__
  • __doc__
  • __file__
  • __license__
  • __name__
  • __package__
  • __path__
  • __url__