# DAAppSetMatType

set the matrix type to be used for the Hessian matrix

## Synopsis

    #include "taodaapplication.h"
    int DAAppSetMatType(TAO_APPLICATION daapplication, MatType mattype)

Collective on TAO_APPLICATION

## Input Parameters

| daapplication | - the DA Application object
| mattype | - the matrix type

## Options Database Key

-tao_da_mattype -select matrix type

## Note

The default value is MATMPIAIJ.

## Note

Call before DAAppSetHessianRoutine()

## See Also

DAAppSetMatStructure(), DAAppSetHessianRoutine(), DAGetMatrix();

## Keywords

DA, Hessian

Level:intermediate
Location:src/petsctao/gridapplication/interface/daapp.c
TAO DA Application Index
Table of Contents