On Tue, 9 Jun 2009, Brent Kraczek wrote:
> I'm trying to calculate the total system energy for my Poisson solution,
> which would be
>
>(solution)^T . matrix . solution
>
> Has this been implemented somewhere,
I don't think so; you'll probably need a temporary vector. If you'd
like to add t
I'm trying to calculate the total system energy for my Poisson solution,
which would be
(solution)^T . matrix . solution
Has this been implemented somewhere, or is there a matrix-vector
multiply included in one of the petsc_*.h files?
Thanks,
Brent
Here's a link on how to compile 64bit using gcc on OSX:
http://developer.apple.com/documentation/Darwin/Conceptual/64bitPorting/building/building.html
It looks like all you have to do is add "-arch x86_64" to your compile
flags.
This is all theoretical to me though... we build 64bit executable