"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/sys/classes/viewer/impls/adios2/adios2.c" between
petsc-3.11.4.tar.gz and petsc-3.12.0.tar.gz

About: PETSc, the Portable, Extensible Toolkit for Scientific computation, provides sets of tools for the parallel (as well as serial), numerical solution of partial differential equations (PDEs) that require solving large-scale, sparse nonlinear systems of equations.

adios2.c  (petsc-3.11.4):adios2.c  (petsc-3.12.0)
skipping to change at line 130 skipping to change at line 130
ierr = PetscObjectComposeFunction((PetscObject)v,"PetscViewerFileSetName_C",Pe tscViewerFileSetName_ADIOS2);CHKERRQ(ierr); ierr = PetscObjectComposeFunction((PetscObject)v,"PetscViewerFileSetName_C",Pe tscViewerFileSetName_ADIOS2);CHKERRQ(ierr);
ierr = PetscObjectComposeFunction((PetscObject)v,"PetscViewerFileGetName_C",Pe tscViewerFileGetName_ADIOS2);CHKERRQ(ierr); ierr = PetscObjectComposeFunction((PetscObject)v,"PetscViewerFileGetName_C",Pe tscViewerFileGetName_ADIOS2);CHKERRQ(ierr);
ierr = PetscObjectComposeFunction((PetscObject)v,"PetscViewerFileSetMode_C",Pe tscViewerFileSetMode_ADIOS2);CHKERRQ(ierr); ierr = PetscObjectComposeFunction((PetscObject)v,"PetscViewerFileSetMode_C",Pe tscViewerFileSetMode_ADIOS2);CHKERRQ(ierr);
PetscFunctionReturn(0); PetscFunctionReturn(0);
} }
/*@C /*@C
PetscViewerADIOS2Open - Opens a file for ADIOS2 input/output. PetscViewerADIOS2Open - Opens a file for ADIOS2 input/output.
Collective on MPI_Comm Collective
Input Parameters: Input Parameters:
+ comm - MPI communicator + comm - MPI communicator
. name - name of file . name - name of file
- type - type of file - type - type of file
$ FILE_MODE_WRITE - create new file for binary output $ FILE_MODE_WRITE - create new file for binary output
$ FILE_MODE_READ - open existing file for binary input $ FILE_MODE_READ - open existing file for binary input
$ FILE_MODE_APPEND - open existing file for binary output $ FILE_MODE_APPEND - open existing file for binary output
Output Parameter: Output Parameter:
. adios2v - PetscViewer for ADIOS2 input/output to use with the specified file . adios2v - PetscViewer for ADIOS2 input/output to use with the specified file
Level: beginner Level: beginner
Note: Note:
This PetscViewer should be destroyed with PetscViewerDestroy(). This PetscViewer should be destroyed with PetscViewerDestroy().
Concepts: ADIOS2 files
Concepts: PetscViewerADIOS2^creating
.seealso: PetscViewerASCIIOpen(), PetscViewerPushFormat(), PetscViewerDestroy(), PetscViewerHDF5Open(), .seealso: PetscViewerASCIIOpen(), PetscViewerPushFormat(), PetscViewerDestroy(), PetscViewerHDF5Open(),
VecView(), MatView(), VecLoad(), PetscViewerSetType(), PetscViewerFile SetMode(), PetscViewerFileSetName() VecView(), MatView(), VecLoad(), PetscViewerSetType(), PetscViewerFile SetMode(), PetscViewerFileSetName()
MatLoad(), PetscFileMode, PetscViewer MatLoad(), PetscFileMode, PetscViewer
@*/ @*/
PetscErrorCode PetscViewerADIOS2Open(MPI_Comm comm, const char name[], PetscFil eMode type, PetscViewer *adios2v) PetscErrorCode PetscViewerADIOS2Open(MPI_Comm comm, const char name[], PetscFil eMode type, PetscViewer *adios2v)
{ {
PetscErrorCode ierr; PetscErrorCode ierr;
PetscFunctionBegin; PetscFunctionBegin;
ierr = PetscViewerCreate(comm, adios2v);CHKERRQ(ierr); ierr = PetscViewerCreate(comm, adios2v);CHKERRQ(ierr);
 End of changes. 2 change blocks. 
4 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)