[Libmesh-users] libmesh-0.7.1 Release Candidate 1 available

2011-04-14 Thread Roy Stogner
libmesh-0.7.1-rc1 is available from libmesh.sourceforge.net, in tar.gz and tar.xz formats. It sounds like we've currently got compile-time bugs in some --disable-amr configurations and runtime inefficiencies in Nemesis ParallelMesh input, so there will definitely be some more revisions before 0.7

Re: [Libmesh-users] How to transfer a vector as parameters?

2011-04-14 Thread codypermann
With a little more work, Parameters can hold any type including std containers. What you need to do is create a template specialization for that print method so that the compiler knows how to print your specific type. After that you've done that, the code you posted earlier should work. You

Re: [Libmesh-users] How to transfer a vector as parameters?

2011-04-14 Thread 蔡园武
Thanks, John, but I don't think it's just the print error, because if I comment the std::cout sentence, the error message is the same. It seems that Parameters only can hold basic values like int or Real, not the compound type like vector. If it is so, I must transfer the vector to other functions

Re: [Libmesh-users] How to search for smallest eigenvalues?

2011-04-14 Thread David Knezevic
Just do: eigen_system.eigen_solver->set_position_of_spectrum(SMALLEST_MAGNITUDE); or eigen_system.eigen_solver->set_position_of_spectrum(SMALLEST_REAL); Dave On 04/14/2011 12:32 PM, Omar Al-Abbasi wrote: > Hi everyone, > > I am solving a generalized eigenvalue problem and I followed example

[Libmesh-users] How to search for smallest eigenvalues?

2011-04-14 Thread Omar Al-Abbasi
Hi everyone, I am solving a generalized eigenvalue problem and I followed example 17 successfully until now. My question is how to specify the option for SLEPc so it searches for the smallest eigenvalues. I know that this option is there but unfortunately I don't know how to implement it. Many th

Re: [Libmesh-users] How to transfer a vector as parameters?

2011-04-14 Thread John Peterson
2011/4/13 蔡园武 : > I have faced some problems in my code, and need your help. > > 1. I see that the user can pass parameters into equation_systems, so they > can be retrieved in other functions. But when I want to pass a vector or > matrix, it won't work: > >std::vector & EDA = > equation_system

Re: [Libmesh-users] [Libmesh-devel] libmesh 0.7.1

2011-04-14 Thread Kirk, Benjamin (JSC-EG311)
>> Whoa... what is this "Intel Parallel Studio XE 2011" stuff? I'm >> downloading it now - may be worth waiting to tweak ./configure to detect the >> latest intel compilers... > > Definitely, thanks - I had to futz with our compiler.m4 just a week or > so ago when we barfed on Intel 12; I'd rath