Re: [Libmesh-users] equation_systems type

2011-06-01 Thread Vikram Garg
Ataollah, I use DiffSystem for my own coupled problems. It is fairly straightforward to use. Please take a look at Example 18 and see if it helps, http://libmesh.sourceforge.net/ex18.php Thanks. On Wed, Jun 1, 2011 at 12:40 PM, Ataollah Mesgarnejad < ames...@tigers.lsu.edu> wrote:

[Libmesh-users] equation_systems type

2011-06-01 Thread Ataollah Mesgarnejad
Dear all, I'm trying to solve a a set of coupled equations with two variables where the stiffness matrix for each variable depends on the other variable i.e.: A1(v(t)).u=b1(v(t)) A2(u(t)).v=b2(u(t)) So at each iteration the systems are linear. What would be the suitable equation_systems type?

Re: [Libmesh-users] segmentation fault error for testing examples on a Mac

2011-06-01 Thread Antonio Cervone
you should select carefully what type of warnings to disable in this way. in my example i turned off warnings only for unused variables and parameters that in general should not pose any serious threat to your code (in fact i cannot imagine an example in which such approach would fail, do you have

Re: [Libmesh-users] segmentation fault error for testing examples on a Mac

2011-06-01 Thread Roy Stogner
On Wed, 1 Jun 2011, Derek Gaston wrote: > Very cool do we need something like a > LIBMESH_INCLUDE_NO_WARN_BEGIN and LIBMESH_INCLUDE_NO_WARN_END that > could be set to compiler specific #pragmas at configure time? That sounds like a pretty nice idea. Even after going so far as to edit my loc

Re: [Libmesh-users] segmentation fault error for testing examples on a Mac

2011-06-01 Thread Derek Gaston
Very cool do we need something like a LIBMESH_INCLUDE_NO_WARN_BEGIN and LIBMESH_INCLUDE_NO_WARN_END that could be set to compiler specific #pragmas at configure time? Derek On Jun 1, 2011, at 8:11 AM, Antonio Cervone wrote: > you can specity to gcc that warnings coming from outside library

Re: [Libmesh-users] segmentation fault error for testing examples on a Mac

2011-06-01 Thread Antonio Cervone
you can specity to gcc that warnings coming from outside library should be ignored wrapping the include in a pragma // Tell the compiler to ignore specific kind of warnings: #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #include // Restor

Re: [Libmesh-users] segmentation fault error for testing examples on a Mac

2011-06-01 Thread Roy Stogner
On Tue, 31 May 2011, Kyunghoon Lee wrote: /opt/local/include/mpicxx.h:386: warning: unused parameter ‘oldtype’ /opt/local/include/mpicxx.h:386: warning: unused parameter ‘keyval’ /opt/local/include/mpicxx.h:386: warning: unused parameter ‘ex’ /opt/local/include/mpicxx.h:386: warning: unused par