dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #00872
Re: Eigenvalues and time-dependent bc's
Hi Johan,
There is a small error in the patch for GMRES.cpp. The lines
delete er;
delete ec;
should be
delete [] er;
delete [] ec;
Thanks,
Garth
Quoting jhoffman@xxxxxxxxxxx:
> This is great, Garth!
>
> I'll add the patch files as soon as I can.
>
> /Johan
>
> > Attached are some patch files which, if they could be added to Dolfin,
> > would be
> > really useful for me. They involve:
> >
> > 1) Time-dependent boundary conditions (BoundaryCondtion.cpp_patch and
> > BoundaryCondtion.h_patch). I've done this in the same way as it's done for
> > a
> > function. It might be nice in the future if the time could be more
> > globally
> > available.
> >
> > 2) Computing eigenvalues of a matrix directly using PETSc (GMRES.cpp_patch
> > and
> > GMRES.h_patch). The function replaces the usual "solve". It solves the
> > system
> > and returns n eigenvales in two Vectors - one for the real component and
> > one for
> > the complex component. I haven't added a version for virtual matrices.
> >
> > Garth_______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
> >
>
>
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
>
Follow ups
References