Skip to content

Cookbook

Blaise Bourdin edited this page Jan 6, 2023 · 1 revision

Read / Write a local vector to an exodus file

Assuming a local vector l with block size bs and name name and that name is a nodal or zonal or side set variable in the exodus file.

  • Create ltoIOSF and IOtolSF Call MEF90IOSFCreate(l,ltoIOSF,IOtolSF,ierr) for nodal or zonal vectors or Call MEF90FaceSetIOSFCreate(l,ltoIOSF,IOtolSF,ierr) for face set variable
  • Read / Write (the creation of IO vector and SF broadcast is hidden in the convenience functions) Call MEF90EXOVecLoad(l,ltoIOSF,IOtolSF,Viewer,step,bs,ierr) or Call MEF90EXOVecView(l,ltoIOSF,IOtolSF,Viewer,step,bs,ierr)

Create a local vector given a finite element space