# TaoCompareMethod

Determines whether the TAO_SOLVER structure is of a specified type.

## Synopsis

    #include "tao_general.h"
    int TaoCompareMethod(TAO_SOLVER tao, TaoMethod type,TaoTruth *issame)

Not Collective

## Input Parameter

tao -the TAO_SOLVER solver context
type -a TAO_SOLVER solver method

## Output Parameter

same -TAO_TRUE if 'tao' is of method 'type'

## Keywords

method

Level:developer
Location:src/petsctao/sys/petsckernel.c
TAO Solver Index
Table of Contents