[deal.II] Re: compile master without examples using Candi

2017-12-01 Thread RAJAT ARORA
Well, after trying a couple of things, and posting the question, I figured out how to do that and posting it here as a solution. In file deal.II-toolchain/packages/dealii.package At the top (line no 18 as of now), there is a variable defined CONFOPTS Add this line to the CONFOPTS variable. -

Re: [deal.II] Re: mapping_collection and step-27

2017-12-01 Thread Juan Carlos Araujo Cabarcas
Thanks again! that one was very logical ... silly me! To review, now it looks like this: std::map bval; ZeroFunction homogeneous_dirichlet_bc; const typename FunctionMap::type dirichlet_boundary_functions = { { types::boundary_i

[deal.II] compile master without examples using Candi

2017-12-01 Thread RAJAT ARORA
Hello, >From one of the posts, I came to know that DEAL_II_COMPILE_EXAMPLES=ON by default for master. I am installing deal.ii master branch using candi. I do the build myself, I can pass that flag = OFF during the "cmake ." step but can anyone please tell me, how can I switch it off if I am us

Re: [deal.II] Re: Error during p4est installation

2017-12-01 Thread feapman
Hi Bruno & DEAL.ii Team, many thanks for your suggestion & help! now I install p4est in a new order which contains three directories: source directory, build directory, and install directory Warm regards, Yaakov On Friday, December 1, 2017 at 3:03:29 PM UTC+1, Bruno Turcksin wrote: > > Yaako

Re: [deal.II] step-22 partial boundary conditions

2017-12-01 Thread Wolfgang Bangerth
Jane, The whole point of not imposing zero for all components in a Dirichlet sense is that I am testing for a case where I have inhomogeneous normal component of the normal stress, with the tangential stress being zero on some boundaries. This case is easy: the stress is only imposed weakly

[deal.II] Re: Wrong result in use of FEEvaluation with different ConstraintMatrix objects

2017-12-01 Thread Sambit Das
Just to clarify my observations on serial and parallel discrepancy- The value from case 1 remains same for serial and parallel, while case 2 gives different values for serial and parallel. On Friday, December 1, 2017 at 3:39:20 PM UTC-6, Sambit Das wrote: > > Hi All, > > I have reduced my bug to

[deal.II] Wrong result in use of FEEvaluation with different ConstraintMatrix objects

2017-12-01 Thread Sambit Das
Hi All, I have reduced my bug to the following minimal example: I create a MatrixFree object for two different ConstraintMatrices (provided as vector of ConstraintMatrices to the reinit(..)). matrix_free_data.reinit(dofHandlerVector, d_constraintsVector, quadratureVector, additional_data)

Re: [deal.II] Re: mapping_collection and step-27

2017-12-01 Thread Wolfgang Bangerth
On 12/01/2017 01:29 PM, Juan Carlos Araujo Cabarcas wrote: I must admit that I am a bit lost here. However, I tried your suggestion and used:    FunctionMap::type,  what gave the errors that I attach in errors.txt. By looking at those errors, I also tried:     std::mapstd::complex > >  bval

Re: [deal.II] Re: mapping_collection and step-27

2017-12-01 Thread Juan Carlos Araujo Cabarcas
Apologies for the last email ... Thanks W. for your quick reply. I used static because it was used in one of the dealii steps. As there is no need for it, in the following it is removed. I must admit that I am a bit lost here. However, I tried your suggestion and used:FunctionMap::type, w

Re: [deal.II] Re: mapping_collection and step-27

2017-12-01 Thread Bruno Turcksin
On Friday, December 1, 2017 at 1:47:44 PM UTC-5, Juan Carlos Araujo Cabarcas wrote: > I must admit that I am a bit lost here. However, I tried your suggestion > and used:FunctionMap::type, what gave the errors that > I attach in errors.txt. > > You have attached a file but it only contain

Re: [deal.II] Re: Spurious eigenvalues

2017-12-01 Thread Wolfgang Bangerth
On 12/01/2017 06:50 AM, Timo Heister wrote: They're always going to be there because we keep constrained nodes in the linear system. If we modify the way ConstraintMatrix operates, we could work around this though: 1. Without rescaling those equations (as we do inside ConstraintMatrix right now

Re: [deal.II] Re: mapping_collection and step-27

2017-12-01 Thread Juan Carlos Araujo Cabarcas
Thanks for your quick reply. I used static because it was used in one of the dealii steps. As there is no need for it, in the following it is removed. I must admit that I am a bit lost here. However, I tried your suggestion and used:FunctionMap::type, what gave the errors that I attach in

Re: [deal.II] Re: mapping_collection and step-27

2017-12-01 Thread Juan Carlos Araujo Cabarcas
Thanks for your quick reply. I used static because it was used like that in one of the steps, as there is no need for it, in the following it is removed. I must admit that I am a bit lost here. However, I tried your suggestion and used:FunctionMap::type, what gave the errors that I attach

Re: [deal.II] Re: Error during p4est installation

2017-12-01 Thread Bruno Turcksin
Yaakov, 2017-12-01 8:26 GMT-05:00 : > one is defined order p4est > new one is p4est-build > p4est: directory where you wanted to install p4est p4est-build: directory where p4est is compiled. This can be removed once p4est is installed. It is common when you install a library to have three directo

Re: [deal.II] Re: Spurious eigenvalues

2017-12-01 Thread Bruno Turcksin
2017-12-01 8:50 GMT-05:00 Timo Heister : > 3. Did we rip out the support for removing the constrained entries > from the matrix completely? That was my plan at first using ConstraintMatix::condense but according to the documentation, the constrained entries are not removed. Best, Bruno -- The

Re: [deal.II] Re: Spurious eigenvalues

2017-12-01 Thread Denis Davydov
On Friday, December 1, 2017 at 2:50:38 PM UTC+1, Timo Heister wrote: > > > They're always going to be there because we keep constrained nodes in > the > > linear system. > > If we modify the way ConstraintMatrix operates, we could work around > this though: > but there is really no need, is

Re: [deal.II] Re: Spurious eigenvalues

2017-12-01 Thread Timo Heister
> They're always going to be there because we keep constrained nodes in the > linear system. If we modify the way ConstraintMatrix operates, we could work around this though: 1. Without rescaling those equations (as we do inside ConstraintMatrix right now) the spurious EV would all be equal to 1 a

Re: [deal.II] Re: Error during p4est installation

2017-12-01 Thread feapman
Hi Daniel, Now this problem is solved. I would like to ask why I get two orders. one is defined order p4est new one is p4est-build Warm regards, Yaakov On Friday, December 1, 2017 at 9:32:32 AM UTC+1, Daniel Arndt wrote: > > Yaakov, > > looking at p4est-install.sh, the error tells you that "SRC

Re: [deal.II] Re: Spurious eigenvalues

2017-12-01 Thread Wolfgang Bangerth
On 11/30/2017 05:47 PM, Bruno Turcksin wrote: In step-36, there is an explanation on how Dirichlet boundary conditions introduce spurious eigenvalues because some dofs are constrained. However, there is no mention of hanging nodes. So I am wondering if I can treat them as shown for the Dirich

Re: [deal.II] Re: mapping_collection and step-27

2017-12-01 Thread Wolfgang Bangerth
On 11/30/2017 03:05 PM, Juan Carlos Araujo Cabarcas wrote: When using the PETSc wrappers as in step-36 (installed with PetscScalar = complex) and using MappingCollection as discussed before. I now try: | //static std::map bval; staticstd::mapbval; This is unrelated to the error, but why do

Re: [deal.II] Re: Error during p4est installation

2017-12-01 Thread Daniel Arndt
Yaakov, looking at p4est-install.sh, the error tells you that "SRCDIR/src/p4est.h" can't be found. This might mean that your p4est-1.1.tar.gz is broken or incomplete. Can you make sure that "src/p4est.sh" indeed exists after unpacking the archive? If not, try to download p4est-1.1.tar.gz again.

Re: [deal.II] Re: Error during p4est installation

2017-12-01 Thread FEAPMAN Yaakov
Dear Prof. Bangerth, I used follwing command in terminal, and get an error report bash ./p4est-setup.sh p4est-1.1.tar.gz /home/feapman/Program/p4est-develop CFLAGS_FAST: -O2 CFLAGS_DEBUG: -O0 -g This script tries to unpack, configure and build the p4est library. Build FAST: /home/feapman/Program