#include <stdlib.h>
#include "nmd.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
int main | ( | int | argc, | |
char ** | argv | |||
) |
Test setting and getting values
Definition at line 5 of file u1.c.
References NMDCreateObject(), and NMDDestroyObject().
00005 { 00006 NMD_metadata nmd; NMDErrorCode ierr; 00007 PetscFunctionBegin; 00008 PetscInitialize(&argc,&argv,0,0); 00009 00010 ierr = NMDCreateObject(&nmd); NMD_ERR_RETURN(ierr); 00011 ierr = NMDDestroyObject(nmd); NMD_ERR_RETURN(ierr); 00012 00013 PetscFinalize(); 00014 PetscFunctionReturn(0); 00015 }