Actual source code: fieldClassMapRegAll.c

  1: #ifdef PETSC_RCS_HEADER
  2: static char vcid[] = "$Id: fieldClassMapRegAll.c,v 1.1 1999/10/04 10:56:23 knepley Exp $";
  3: #endif

 5:  #include src/grid/gridimpl.h

  7: EXTERN_C_BEGIN
  8: extern int FieldClassMapCreate_Triangular_2D(FieldClassMap);

 10: extern int FieldClassMapSerialize_Triangular_2D(MPI_Comm, FieldClassMap *, PetscViewer, PetscTruth);
 11: EXTERN_C_END

 13: #undef __FUNCT__  
 15: /*@C
 16:   FieldClassMapRegisterAll - Registers all of the serialization routines in the FieldClassMap package. 

 18:   Not Collective

 20:   Input parameters:
 21: . path - Dynamic library path

 23:   Level: advanced

 25: .keywords: class, field class, class map, register, all, serialization
 26: .seealso: FieldClassMapRegister(), FieldClassMapRegisterDestroy()
 27: @*/
 28: int FieldClassMapRegisterAll(const char path[])
 29: {

 33:   FieldClassMapRegisterAllCalled = 1;

 35:   FieldClassMapRegister(CLASS_MAP_TRIANGULAR_2D, path, "FieldClassMapCreate_Triangular_2D",
 36:                                FieldClassMapCreate_Triangular_2D);
 37: 
 38:   return(0);
 39: }

 41: #undef __FUNCT__  
 43: /*@C
 44:   FieldClassMapSerializeRegisterAll - Registers all of the serialization routines in the FieldClassMap package. 

 46:   Not Collective

 48:   Input parameters:
 49: . path - Dynamic library path

 51:   Level: advanced

 53: .keywords: class, field class, class map, register, all, serialization
 54: .seealso: FieldClassMapSerializeRegister(), FieldClassMapSerializeRegisterDestroy()
 55: @*/
 56: int FieldClassMapSerializeRegisterAll(const char path[])
 57: {

 61:   FieldClassMapSerializeRegisterAllCalled = 1;

 63:   FieldClassMapSerializeRegister(CLASS_MAP_SER_TRIANGULAR_2D_BINARY, path, "FieldClassMapSerialize_Triangular_2D",
 64:                                         FieldClassMapSerialize_Triangular_2D);
 65: 
 66:   return(0);
 67: }