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

2017-12-09 Thread Juan Carlos Araujo Cabarcas
Ahh I see. Thanks to all of you for all the help and support on this thread! El sábado, 9 de diciembre de 2017, 8:42:38 (UTC-5), Daniel Arndt escribió: > > Juan, > > take a look at the documentation >

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

2017-12-09 Thread Daniel Arndt
Juan, take a look at the documentation of that function. It tells you that the last parameter needs to be "false", i.e. this function is only implemented for the case in which you don

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

2017-12-08 Thread Juan Carlos Araujo Cabarcas
Thanks again, Now it passes the *interpolate_boundary_values *call. However, it is conflicting now with: MatrixTools::apply_boundary_values (bval, system_matrix,

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

2017-12-08 Thread Wolfgang Bangerth
Merge: fd97710 cceeb7c Author: Wolfgang Bangerth Date:   Tue Dec 5 07:24:15 2017 -0700     Merge pull request #5579 from bangerth/more-complex-instantiations     More complex instantiations However, after configuration, installation and compilation of my code I obtain the error: Scanni

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

2017-12-06 Thread Juan Carlos Araujo Cabarcas
Hi, when I do git log the #5579 does show up. Merge: fd97710 cceeb7c Author: Wolfgang Bangerth Date: Tue Dec 5 07:24:15 2017 -0700 Merge pull request #5579 from bangerth/more-complex-instantiations More complex instantiations However, after configuration, installation and c

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

2017-12-05 Thread Wolfgang Bangerth
On 12/05/2017 05:47 PM, Juan Carlos Araujo Cabarcas wrote: On my topic, I have done as usual: git clone https://github.com/dealii/dealii.git dealii and proceeded with the configuration/installation of the library, to notice that I still have an error: When did you clone the repository? T

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

2017-12-05 Thread Juan Carlos Araujo Cabarcas
Thanks for your email and the encouragement, I will keep these reporting issues for sure! This thread was a nice lecture on templates! On my topic, I have done as usual: git clone https://github.com/dealii/dealii.git dealii and proceeded with the configuration/installation of the library, to

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

2017-12-04 Thread Wolfgang Bangerth
On 12/01/2017 08:36 PM, Juan Carlos Araujo Cabarcas wrote: path/petsc_eigs/pFEM.cc:370: error: undefined reference to 'void dealii::VectorTools::interpolate_boundary_values<2, 2, std::complex >(dealii::hp::MappingCollection<2, 2> const&, dealii::hp::DoFHandler<2, 2> const&, std::mapdealii::Fu

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

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: 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: 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: mapping_collection and step-27

2017-11-30 Thread Juan Carlos Araujo Cabarcas
May the same bug exist for the complex arithmetic case? 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; static std::map bval; ZeroFunction

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

2017-11-12 Thread Wolfgang Bangerth
On 11/10/2017 08:15 AM, Juan Carlos Araujo Cabarcas wrote: Yes, it explains the Function map better, and also thanks for the pointer to step-16. Unfortunately, I still cannot get it to run =( ... By looking at step-35, I got the line: | staticstd::mapbval; | With this, I now write: | ZeroFunct

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

2017-11-12 Thread Wolfgang Bangerth
On 11/11/2017 02:34 PM, Juan Carlos Araujo Cabarcas wrote: Additionally, I also noticed that: data_out.build_patches (mapping_collection, 4, DataOut::curved_inner_cells); is not implemented, what could be the proper way of producing .vtk files with curved inner cells That's a separate is

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

2017-10-23 Thread Wolfgang Bangerth
On 10/23/2017 08:25 PM, Juan Carlos Araujo Cabarcas wrote: Thanks for the quick answer! My problem is the scalar wave equation and the boundary conditions are simple homogeneous Dirichlet. Before starting with hp I was successfully using |ZeroFunction(). |How would this "/map taking a types::bo

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

2017-10-23 Thread Juan Carlos Araujo Cabarcas
Thanks for the quick answer! My problem is the scalar wave equation and the boundary conditions are simple homogeneous Dirichlet. Before starting with hp I was successfully using ZeroFunction(). How would this "*map taking a types::boundary_id and a Function object*" look like? Any step in the

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

2017-10-23 Thread Daniel Arndt
Juan [...] > >static std::map bval; > VectorTools::interpolate_boundary_values (mapping_collection, > dof_handler, ZeroFunction(), bval); > > and I get the following error: > > [100%] Building CXX object CMakeFiles/pFEM.dir/pFEM.cc.o > /home/ju4nk4/jc/codes/adaptivity/disk_pFEM/pFEM.cc: