[deal.II] Re: Parallelizing step-33 with MPI

2019-12-20 Thread Ellen M. Price
I did eventually solve this problem, but I ran into another one. I think I'm close, I just need a little guidance. The problems occur in assembling the system. I've checked the right-hand side vector and it has some odd features. I'm running the "slide" problem, just like step-33 does. I

Re: [deal.II] Solve for eigenvalues for small matrix in serial

2019-12-20 Thread Wolfgang Bangerth
On 12/19/19 8:23 PM, Pai Liu wrote: > In my parallel code, I want to solve the eigenvalues of a small matrix (e.g. > 3 > by 3) in serial on each processor. In addition to Jean-Paul's answer, if your 3x3 matrix is symmetric, you can also put the entries into an object of type

Re: [deal.II] Why did the developers of deal.ii choose templates over variadic arguments?

2019-12-20 Thread Wolfgang Bangerth
Krishna, > deal.ii makes heavy use of templates for spatial-dimension independent > programming.  However, as already acknowledged in the FAQ, compiling > template-heavy code takes a long time. > > Since the number cases are only 3 (possible spatial dimensions), it strikes > me > that the

Re: [deal.II] Re: Parallelizing step-33 with MPI

2019-12-20 Thread Wolfgang Bangerth
On 12/20/19 6:42 PM, Ellen M. Price wrote: > I did eventually solve this problem, but I ran into another one. I think I'm > close, I just need a little guidance. The problems occur in assembling the > system. I've checked the right-hand side vector and it has some odd features. > I'm running

[deal.II] Re: cmake with library and executables

2019-12-20 Thread Konrad Simon
Hello deal.ii community, I am posting again (sorry) with a bit more info since I did not find the mistake in my cmake setup. I have essentially the following project structure: project/source project/include project/doc project/test. In project/ I have this CMakeLists.txt:

[deal.II] Why did the developers of deal.ii choose templates over variadic arguments?

2019-12-20 Thread Krishnakumar Gopalakrishnan
With the highest deference to the amazing quality of software development that deal.ii developers follow, I wish to ask a question about the particular development paradigm chosen (with no disrespect to any of the developers intended). This question is just out of personal curiosity. deal.ii

Re: [deal.II] Re: Why did the developers of deal.ii choose templates over variadic arguments?

2019-12-20 Thread Krishnakumar Gopalakrishnan
Hi Bruno, Thank you for your really quick reply. I shall read the article. Krishna On Fri, 20 Dec 2019 at 13:41, Bruno Turcksin wrote: > Krishna, > > You can find an extensive discussion on the design choices made here > . I think section 2.4

[deal.II] Re: Why did the developers of deal.ii choose templates over variadic arguments?

2019-12-20 Thread Bruno Turcksin
Krishna, You can find an extensive discussion on the design choices made here . I think section 2.4 answers your question. The short answer is that using template makes the code run faster because the compiler can do a better job at optimizing everything

Re: [deal.II] Symbol dealii not resolved

2019-12-20 Thread David Wells
Dear Gerald, This is great to hear! You are most welcome. Thanks, David On Fri, Dec 20, 2019 at 11:50 AM Gerald Marewo wrote: > > Dear David and everyone, > > Here is an update and my way of saying that my problem has been completely > solved. > > Upon watching Wolfgang's Lecturer video 8.01

Re: [deal.II] Symbol dealii not resolved

2019-12-20 Thread Gerald Marewo
Dear David and everyone, Here is an update and my way of saying that my problem has been completely solved. Upon watching Wolfgang's Lecturer video 8.01 now I understand that: 1. I created a new c++ project from scratch inside Eclipse and I told Eclipse where to find the include files.