[deal.II] How to extract nodes/vertices at the interface of two domains?

2020-08-31 Thread Behrooz Karami
best of my understanding there are already a few approaches/methods in Deal.ii used for extracting similar information (cells and faces). Thanks very much in advance. Behrooz Karami -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https

Re: [deal.II] How to extract nodes/vertices at the interface of two domains?

2020-09-01 Thread Behrooz Karami
(f)->vertex(v); > > If its the solution "at the vertices” that you’re looking for, then you > can adapt the code listed in this FAQ entry: > > https://github.com/dealii/dealii/wiki/Frequently-Asked-Questions#how-do-i-get-the-degree-of-freedom-indices-at-vertices > >

[deal.II] Node duplication in deal.ii

2020-10-02 Thread Behrooz Karami
Dear All, Is it possible to duplicate nodes/vertices in deal.ii? I want to duplicate nodes at the interface of two domains so that the could get fully separated. Any ideas are appreciated. Best, Behrooz -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum optio

Re: [deal.II] Node duplication in deal.ii

2020-10-05 Thread Behrooz Karami
nt(FE_Q(1), FE_Nothing()); > FESystem right_element(FE_Nothing(), FE_Q(1)); > > hp::FECollection fe_collection(left_element, right_element); > > Then you can select which cells should use which element as in step-46: > www.dealii.org/current/doxygen/deal.II/step_46.html > > Be

[deal.II] Making a pair of extracted data and cast into a set

2020-10-08 Thread Behrooz Karami
Hi everyone, I am trying to cast extracted vertex_indices into a set (or vector). Before that it is needed to make a pair of those indices (just doubling) and to cast the pairs into a set for further manipulations. I get the vertex information mainly through following lines of code: for (auto

Re: [deal.II] Making a pair of extracted data and cast into a set

2020-10-08 Thread Behrooz Karami
gt; > In the end, it should not be a problem to create a std::vector of storage > type Point (if you are interested in the position of vertices) > or unsigned int (if you are interested in the index of the vertices) and > push_back into it. > > Best, > Daniel > &

Re: [deal.II] Making a pair of extracted data and cast into a set

2020-10-09 Thread Behrooz Karami
sn't work: vertices[v] = cell->face(f)->vertex_index(v); std::pair , Point> mypair (vertices[v], vertices[v]); Perhaps something according to Point needs be modified. On Friday, October 9, 2020 at 6:11:11 AM UTC+2 Behrooz Karami wrote: > Dear Daniel, > > Thanks very much

Re: [deal.II] Making a pair of extracted data and cast into a set

2020-10-13 Thread Behrooz Karami
ts being allowed to be anywhere in space. You can read more about > the conceptual difference in the introduction to the Point class > documentation <https://dealii.org/current/doxygen/deal.II/classPoint.html> > . > > I hope that this helps at least a bit, and that you manage to

[deal.II] More recent version of deal.II (9.2) co-installed with previous one (9.0), is not linked with PETSc (and other external libraries)

2021-01-06 Thread Behrooz Karami
Dear everyone, I already have 9.0 installed via SPACK, through which all the required external libraries are installed and consequently recognized by deal.II. I recently tried to migrate to version 9.2 (while keeping 9.0). It was installed through regular procedures described in the README file. H

Re: [deal.II] More recent version of deal.II (9.2) co-installed with previous one (9.0), is not linked with PETSc (and other external libraries)

2021-01-06 Thread Behrooz Karami
Dera Luca, Thanks very much for the guidance. Just to make sure, since I also need some other libraries such as Trilinos, do I need to rebuild deal.II with all that I anticipate might be needed? Thank you. On Wed, Jan 6, 2021 at 1:12 PM luca.heltai wrote: > Dear Behrooz, > > > I already have 9.

[deal.II] ADOL-C not found through SPACK installation of deal.ii 9.2

2021-01-07 Thread Behrooz Karami
Dear Everyone, During installation of deal.ii 9.2 through SPACK I receive the following error on ADOL-C: 1 error found in build log: 549-- Could not find a sufficient ADOL-C installation: Possible symbol clash between the ADOL-C library and Trilinos' SEACASChaco detecte

Re: [deal.II] ADOL-C not found through SPACK installation of deal.ii 9.2

2021-01-13 Thread Behrooz Karami
want to be even more restrictive: > spack install dealii@9.2+adol-c+trilinos~netcdf > ^trilinos~chaco~exodus~netcdf~pnetcdf > > I hope that this helps you getting deal.II installed through Spack. > > Best, > Jean-Paul > > > > On 08.01.21 08:22, Behrooz Karami wrote:

Re: [deal.II] ADOL-C not found through SPACK installation of deal.ii 9.2

2021-01-16 Thread Behrooz Karami
x27;-j 1', just to be sure. > > Let us know if you still have troubles after trying that. You're using GCC > 7.3.0, which as far as I know shouldn't have any troubles building the > library. > > Best, > Jean-Paul > > > On 14.01.21 10:45, Behrooz Karami w

Re: [deal.II] ADOL-C not found through SPACK installation of deal.ii 9.2

2021-01-18 Thread Behrooz Karami
readthedocs.io/en/latest/workflows.html?highlight=filesystem%20view> > and environment modules > <https://spack.readthedocs.io/en/latest/environments.html> to the same > effect. > > Best, > Jean-Paul > > On 17.01.21 12:50, Behrooz Karami wrote: > > Hi Wolfgang, > > Tha

[deal.II] Re: deal.ii installation error_through Spack on Ubuntu

2019-03-07 Thread Behrooz Karami
Thanks very much. It worked perfectly! Best, Behrooz On Wednesday, March 6, 2019 at 4:21:42 PM UTC+1, Bruno Turcksin wrote: > > BK, > > On Wednesday, March 6, 2019 at 10:15:10 AM UTC-5, Behrooz Karami wrote: >> >> I was trying to install deal.ii on Ubuntu 18 using Spack. &

[deal.II] installation error_CENTOS 7

2019-11-26 Thread Behrooz Karami
Dear All, I am facing an error during last steps of installation of dealii with SPACK on CENTOS 7. Could anyone have a look at the attached file which includes the error I get during installation. Thank you very much. Behrooz Karami -- The deal.II project is located at http://www.dealii.org

[deal.II] Re: installation error_CENTOS 7

2019-11-26 Thread Behrooz Karami
uesday, November 26, 2019 at 8:56:19 AM UTC-5, Behrooz Karami wrote: >> >> >> Dear All, >> >> I am facing an error during last steps of installation of dealii with >> SPACK on CENTOS 7. >> Could anyone have a look at the attached file which includes the

Re: [deal.II] Re: installation error_CENTOS 7

2019-11-28 Thread Behrooz Karami
t; Le mer. 27 nov. 2019 à 10:30, Behrooz Karami > a écrit : > > Sorry. Is this the correct one? > Yes, that's the one but I don't see anything wrong. Can you try to > install deal.II with spack using a smaller number of dependencies. I > wonder if the problem is

[deal.II] Eclipse_Spack_Dealii_Debugging mode_Can't find the source file

2019-12-03 Thread Behrooz Karami
convenient to address header files one by one. Any ideas or suggestions are appreciated. Regards, Behrooz Karami -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message

Re: [deal.II] Eclipse_Spack_Dealii_Debugging mode_Can't find the source file

2019-12-03 Thread Behrooz Karami
Dear Wolfgang, Thank you for the reply. Yes. Actually I installed it through Spack. So, now I was just wondering if there is any way to reverse or repair the process? Best, Behrooz On Wednesday, December 4, 2019 at 3:01:54 AM UTC+1, Wolfgang Bangerth wrote: > > On 12/3/19 3:38 PM, B

Re: [deal.II] Eclipse_Spack_Dealii_Debugging mode_Can't find the source file

2019-12-04 Thread Behrooz Karami
All right. Thank you very much. Best, Behrooz On Wednesday, December 4, 2019 at 3:44:58 PM UTC+1, Wolfgang Bangerth wrote: > > On 12/4/19 12:56 AM, Behrooz Karami wrote: > > > > Thank you for the reply. > > Yes. Actually I installed it through Spack. > > So, now