Re: [Libmesh-users] Total system energy

2009-06-09 Thread Roy Stogner
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

[Libmesh-users] Total system energy

2009-06-09 Thread Brent Kraczek
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

Re: [Libmesh-users] memory limit with osx?

2009-06-09 Thread Derek Gaston
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