Go to the documentation of this file.
11 #ifndef DAJacCondRdW_H
12 #define DAJacCondRdW_H
15 #include "addToRunTimeSelectionTable.H"
54 const Vec preallocOnProc,
55 const Vec preallocOffProc)
const;
58 const HashTable<List<List<word>>>& stateResConInfo,
59 const label isPrealloc);
87 virtual void setupJacCon(
const dictionary& options);
92 const label transposed)
const;
virtual void preallocatedRdW(Mat dRMat, const label transposed) const
preallocate memory for dRdW using the computed preallocation vectors
void setupdRdWCon(const HashTable< List< List< word >>> &stateResConInfo, const label isPrealloc)
virtual void clear()
clear members in parent and child objects
DAOption daOption(mesh, pyOptions_)
virtual void setupJacConPreallocation(const dictionary &options)
calculate the
void initializePetscVecs()
initialize petsc vectors
virtual void initializeJacCon(const dictionary &options)
initialize the state Jacobian connectivity matrix
DAJacCondRdW(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
DAModel daModel(mesh, daOption)
void allocateJacobianConnections(Vec preallocOnProc, Vec preallocOffProc, Vec preallocOnProcT, Vec preallocOffProcT, Mat connections, const label row)
compute preallocation vectors
DAIndex daIndex(mesh, daOption, daModel)
virtual void setupJacCon(const dictionary &options)
assign 1 to all non-zero elements for the Jacobian connecitivyt matrix
void preallocateJacobianMatrix(Mat dRMat, const Vec preallocOnProc, const Vec preallocOffProc) const
compute preallocation vectors