[petsc-users] vector of struct

Dinesh Kumar dkumar2 at vcu.edu
Mon Mar 24 15:56:51 CDT 2014


Hi,

I am trying to implement a 3-D Surface Registration code using PetSc. I
want to create a vector of structures i.e.

struct Point {
	double x, y, z;
};

Then create a PetSc vector that stores array of "Points types". Can
someone point me to the right direction.

regards
--dinesh


More information about the petsc-users mailing list