Re: [deal.II] Generate explicit instantiations for a new member function

2021-12-10 Thread bob bill
Everything works as expected now, thanks a lot Wolfgang :-) Il giorno venerdì 10 dicembre 2021 alle 01:23:15 UTC+1 Wolfgang Bangerth ha scritto: > On 12/9/21 14:32, bob bill wrote: > > $/cmake -DCMAKE_INSTALL_PREFIX=/path/where/dealii/should/be/installed/to > > /path/to

Re: [deal.II] Generate explicit instantiations for a new member function

2021-12-09 Thread bob bill
FIX=/path/where/dealii/should/be/installed/to /path/to/dealii/sources* $* make install (alternatively $ make -j install)* ? Thanks a lot, Bob Il giorno giovedì 9 dicembre 2021 alle 20:13:25 UTC+1 Wolfgang Bangerth ha scritto: > On 12/9/21 10:43, bob bill wrote: > > > > [ 50%]

Re: [deal.II] Generate explicit instantiations for a new member function

2021-12-09 Thread bob bill
rposeful mistake -- say, by misspelling a variable on purpose -- to see > whether the compiler really compiles the function. > > Best > W. > > > On 12/9/21 8:39 AM, bob bill wrote: > > Hi, > > > > I have the need to create a new member function in the Ma

[deal.II] Generate explicit instantiations for a new member function

2021-12-09 Thread bob bill
Hi, I have the need to create a new member function in the MatrixTools namespace. Basically, I need just to create a new function which is almost identical to another function which is there, except for 2/3 lines. I declared my function in *matrix_tools.h *and define it in the *matrix_tools.c

[deal.II] Re: Obtain degrees of freedom starting from the cell

2021-11-30 Thread bob bill
Thanks a lot Marc, now it compiles. Without your help it wouldn't have been possible. Best, Bob Il giorno martedì 30 novembre 2021 alle 23:37:36 UTC+1 mafe...@gmail.com ha scritto: > You can convert your Triangulation::cell_iterators into a > DoFHandler::cell_iterators. An example is shown he

[deal.II] Re: Obtain degrees of freedom starting from the cell

2021-11-30 Thread bob bill
Thanks Marc for your answer. I should have given more context, as maybe in this particular case things can be simpler. I'm using compute_point_locations() and so in my code I have: *aut

[deal.II] Re: Obtain degrees of freedom starting from the cell

2021-11-30 Thread bob bill
Hi Marc, there's a problem: that function assumes that you do the usual cell->get_dof_indices(local_to_global); In my case, I only have the integer number associated to that cell, say 80, and I wanna know what are the DoFs associated to cell number 80 of my triangulation. If it's not clear, I

[deal.II] Obtain degrees of freedom starting from the cell

2021-11-30 Thread bob bill
Hi everyone, I'm in a strange situation at the moment. Basically, I have the number of a cell in my triangulation, and I want to know the degrees of freedom associated to that cell. Namely, given the integer number associated to the global cell, I'd like to know the global numbers of the DoFs a

Re: [deal.II] Apply boundary conditions using the method of lines

2021-10-07 Thread bob bill
tor *sol *in that function to the boundary values? Best Il giorno mercoledì 6 ottobre 2021 alle 02:30:05 UTC+2 Wolfgang Bangerth ha scritto: > On 9/30/21 6:43 AM, bob bill wrote: > > > > I searched for a solution in several steps, but apparently I can't find > a

[deal.II] Apply boundary conditions using the method of lines

2021-09-30 Thread bob bill
Hello, I'm trying to solve the 2D heat equation with the method of lines, instead of Rothe's method as explained in the tutorials, as I'd like to use ARKODE to march in time. Assuming that the *boundary data is 0* and the initial data is *x*y*(1-x)*(1-y)*, after writing the weak formulation, I

[deal.II] EOC for step-12

2021-08-07 Thread bob bill
Hi everyone, I'm expanding step-12 in order to practice with DG. As written in the possible extensions, I should observe order p+1 in L^2 norm if I refine uniformly the mesh. So I decided to use the *ParsedConvergenceTable *to check the right EOC. I have built a manufactured **smooth** soluti

[deal.II] step-17: MPI parallelisation doesn't run (macOS Catalina)

2021-06-28 Thread bob bill
ose libraries > are not available for use. > > Best, > Jean-Paul > > On 27. Jun 2021, at 22:37, bob bill wrote: > > Dear Jean-Paul, > > Yes, I installed deal.II with the prepacked image file .dmg for macOS, but > I used to compile my deal.II projects from command lin

[deal.II] step-17: MPI parallelisation doesn't run (macOS Catalina)

2021-06-26 Thread bob bill
Hi everyone, I'm learning how to parallelise dealii programs with MPI, and I've started with tutorial number 17. I have a macOS Catalina, 10.15.7 and if I query the version to the command line > mpirun -version > mpirun (Open MPI) 4.1.1 I can compile with > make and after I get the executable

[deal.II] Neumann data and Kelly estimator: can't pass std::map argument

2021-06-16 Thread bob bill
Hi everyone, I'm trying to change a bit the step-7 (Helmotz Problem ) In particular, I'm going to change the estimate function KellyErrorEstimator::estimate

Re: [deal.II] Installing dealii on MacOS and step-40: .dmg file or cloning the repo?

2021-03-17 Thread bob bill
Many thanks for your support! Everything is clear now :-) Il giorno mercoledì 17 marzo 2021 alle 20:39:27 UTC+1 luca@gmail.com ha scritto: > Il giorno 17 mar 2021, alle ore 18:30, bob bill ha > scritto: > > > > So far I have deal.II 9.2.0 installed with .dmg, but also t

Re: [deal.II] Installing dealii on MacOS and step-40: .dmg file or cloning the repo?

2021-03-17 Thread bob bill
try again. > > Step 40 works for me using the installation from the dmg file directly. > > Luca > > Il giorno 17 mar 2021, alle ore 16:36, bob bill ha > scritto: > > Okay, here's what I did: > > 1) installed the .dmg file > 2) I unpacked the .tar.gz 9.2.

Re: [deal.II] Installing dealii on MacOS and step-40: .dmg file or cloning the repo?

2021-03-17 Thread bob bill
like if I installed the library twice. Thanks again, Lukas Il giorno mercoledì 17 marzo 2021 alle 16:36:46 UTC+1 bob bill ha scritto: > Okay, here's what I did: > 1) installed the .dmg file > 2) I unpacked the .tar.gz 9.2.0 version and installed it in /usr/local/bin > usin

Re: [deal.II] Installing dealii on MacOS and step-40: .dmg file or cloning the repo?

2021-03-17 Thread bob bill
dmg, even if I still have the library installed > from GitHub with the command line procedure ? > > > > If so, once I installed the dmg successfully , how can I "recompile the > library"? > > > > > > Best, > > Lukas > > > > Il gior

Re: [deal.II] Installing dealii on MacOS and step-40: .dmg file or cloning the repo?

2021-03-17 Thread bob bill
your patience. Best, Lukas Il giorno mercoledì 17 marzo 2021 alle 12:55:38 UTC+1 bob bill ha scritto: > I compiled successfully the library within the deal.II app terminal. Then > I compiled step-1, and after make run I obtain the following > > */usr/local/bin/deal_9.3.0-pre/inc

Re: [deal.II] Installing dealii on MacOS and step-40: .dmg file or cloning the repo?

2021-03-17 Thread bob bill
d find correctly all the installed libraries. > > Best, > Luca. > > > On 17 Mar 2021, at 10:08, bob bill wrote: > > > > Thanks for your answer. > > > > > My personal option is to install the dmg, then recompile the library > (to have the master

Re: [deal.II] Installing dealii on MacOS and step-40: .dmg file or cloning the repo?

2021-03-17 Thread bob bill
lly , how can I "recompile the library"? Best, Lukas Il giorno mercoledì 17 marzo 2021 alle 07:57:14 UTC+1 luca@gmail.com ha scritto: > > > Il giorno 16 mar 2021, alle ore 23:56, bob bill ha > scritto: > > 1) If I install dealii by using the prepackaged .d

[deal.II] Installing dealii on MacOS and step-40: .dmg file or cloning the repo?

2021-03-16 Thread bob bill
Hi everyone, I installed dealii by cloning the repo as described here ("impatient version") . After installing, I exported the environmental variable DEAL_II_DIR and I can compile and run the first examples correctly. I'm using macOS Catalina