TaoSetDestroyRoutine

Sets an ADDITIONAL function that will be called when this object is destroyed.

Synopsis

#include "tao_solver.h"  
int TaoSetDestroyRoutine(TAO_SOLVER tao,int (*destroy)(void*),void *mctx)
Collective on TAO_SOLVER

Input Parameters

taoapp - the TAO_SOLVER solver context
destroy - function pointer
mctx - [optional] user-defined context for private data for the destroy routine (may be TAO_NULL)

Calling sequence of destroy

    int mydestroy(void *mctx)

mctx -[optional] destroy context

Keywords

destroy

See Also

TaoSetMonitor(), TaoDestroy()

Level:intermediate
Location:src/interface/tao.c
TAO Solver Index
Table of Contents