TaoApplicationFreeMemory

Calls PetscFree() the argument.

Synopsis

#include "tao.h"  
int TaoApplicationFreeMemory(void*ctx)
Collective on TAO_APPLICATION

Input Parameters

ctx -pointer to structure created by PetscMalloc().

Note

A pointer to this routine can be passed into TaoApp functions which will call this routine at a later time.

Keywords

destroy

See Also

TaoAppSetDestroyRoutine(), PetscFree()

Level:intermediate
Location:src/petsctao/application/petscapp/tao_app_util.c
TAO Solver Index
Table of Contents