petsc-main 2021-04-20
Report Typos and Errors

TSSetMatStructure

sets the relationship between the nonzero structure of the RHS Jacobian matrix to the IJacobian matrix.

Synopsis

#include "petscts.h"  
PetscErrorCode TSSetMatStructure(TS ts,MatStructure str)
Logically Collective on ts

Input Parameters

ts - the time-stepper
str - the structure (the default is UNKNOWN_NONZERO_PATTERN)

Notes

When the relationship between the nonzero structures is known and supplied the solution process can be much faster

See Also

MatAXPY(), MatStructure

Level

intermediate

Location

src/ts/interface/ts.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages