ImplicitOperator

class ImplicitOperator

This is and abstract class handling implicit operators. These can ofcourse be used as explicit operators by adding a minus sign to the matrix after generation of the matrix.

Properties

state

State object for creating the matricies

eqSettings

EquationSettings object, containing what settings to use for the run.

operatorMatrix

the operatorMatrix. Is calculated with the function call generateOperatorMatrix().

Sparse properties:

used for sparse matrix building in several implimations of this class. It is not requiered for implementation though.

predictedNNZ 0;
sparseCreatorIndex=1;
estimated_nnz = 0;
isparseCreator_i=0;
sparseCreator_j=0;
sparseCreator_s=0;

Functions

generateOperatorMatrix(this, runIndex, inputArg)

generateOperatorMatrix implementation should modify operatorMatrix to be the operator matrix at runIndex. Implementation should also return 1 (true) if matrix changed from previously saved matrix and 0 otherwise.