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 
> <https://www.dealii.org/developer/doxygen/deal.II/namespaceMatrixTools.html#a6d63cb21abc6c954557c603478ba5f7d>
>  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't 
> eliminate the columns corresponding to boundary DoFs.
>
> Best,
> Daniel
>
> Am Samstag, 9. Dezember 2017 00:48:04 UTC+1 schrieb 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,
>>                                                                           
>>           solution,
>>                                                                           
>>           system_rhs);
>>
>> To be precise I write the output below. 
>>
>> Thanks in advance,
>> Juan Carlos Araújo, Umeå University
>>
>>
>> --------------------------------------------------------
>> An error occurred in line <70> of file 
>> </mypath/Soft/dealii/source/numerics/matrix_tools_once.cc> in function
>>     void dealii::MatrixTools::apply_boundary_values(const 
>> std::map<unsigned int, std::complex<double> >&, 
>> dealii::PETScWrappers::MatrixBase&, dealii::PETScWrappers::VectorBase&, 
>> dealii::PETScWrappers::VectorBase&, bool)
>> The violated condition was: 
>>     eliminate_columns == false
>> Additional information: 
>>     You are trying to use functionality in deal.II that is currently not 
>> implemented. In many cases, this indicates that there simply didn't appear 
>> much of a need for it, or that the author of the original code did not have 
>> the time to implement a particular case. If you hit this exception, it is 
>> therefore worth the time to look into the code to find out whether you may 
>> be able to implement the missing functionality. If you do, please consider 
>> providing a patch to the deal.II development sources (see the deal.II 
>> website on how to contribute).
>>
>> Stacktrace:
>> -----------
>> #0  /mypath/Soft/dealii/lib/libdeal_II.g.so.9.0.0-pre: 
>> dealii::MatrixTools::apply_boundary_values(std::map<unsigned int, 
>> std::complex<double>, std::less<unsigned int>, 
>> std::allocator<std::pair<unsigned int const, std::complex<double> > > > 
>> const&, dealii::PETScWrappers::MatrixBase&, 
>> dealii::PETScWrappers::VectorBase&, dealii::PETScWrappers::VectorBase&, 
>> bool)
>> #1  ./pFEM: Adaptive::LaplaceProblem<2>::assemble_system()
>> #2  ./pFEM: Adaptive::LaplaceProblem<2>::run()
>> #3  ./pFEM: main
>> --------------------------------------------------------
>>
>> [jc-umit:02419] *** Process received signal ***
>> [jc-umit:02419] Signal: Aborted (6)
>> [jc-umit:02419] Signal code:  (-6)
>> [jc-umit:02419] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x36cb0) 
>> [0x7f80d19efcb0]
>> [jc-umit:02419] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) 
>> [0x7f80d19efc37]
>> [jc-umit:02419] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) 
>> [0x7f80d19f3028]
>> [jc-umit:02419] [ 3] 
>> /mypath/Soft/dealii/lib/libdeal_II.g.so.9.0.0-pre(+0x8047862) 
>> [0x7f80da96e862]
>> [jc-umit:02419] [ 4] 
>> /mypath/Soft/dealii/lib/libdeal_II.g.so.9.0.0-pre(_ZN6dealii18deal_II_exceptions9internals5abortERKNS_13ExceptionBaseE+0x1a)
>>  
>> [0x7f80da96fe81]
>> [jc-umit:02419] [ 5] 
>> /mypath/Soft/dealii/lib/libdeal_II.g.so.9.0.0-pre(_ZN6dealii18deal_II_exceptions9internals11issue_errorINS_18StandardExceptions17ExcNotImplementedEEEvNS1_17ExceptionHandlingEPKciS7_S7_S7_T_+0x4e)
>>  
>> [0x7f80d5454e7e]
>> [jc-umit:02419] [ 6] 
>> /mypath/Soft/dealii/lib/libdeal_II.g.so.9.0.0-pre(_ZN6dealii11MatrixTools21apply_boundary_valuesERKSt3mapIjSt7complexIdESt4lessIjESaISt4pairIKjS3_EEERNS_13PETScWrappers10MatrixBaseERNSD_10VectorBaseESH_b+0xc2)
>>  
>> [0x7f80d54cedf6]
>> [jc-umit:02419] [ 7] 
>> ./pFEM(_ZN8Adaptive14LaplaceProblemILi2EE15assemble_systemEv+0xb47) 
>> [0x43a137]
>> [jc-umit:02419] [ 8] 
>> ./pFEM(_ZN8Adaptive14LaplaceProblemILi2EE3runEv+0x126) [0x43ce44]
>> [jc-umit:02419] [ 9] ./pFEM(main+0xdf) [0x427610]
>> [jc-umit:02419] [10] 
>> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f80d19daf45]
>> [jc-umit:02419] [11] ./pFEM() [0x427419]
>> [jc-umit:02419] *** End of error message ***
>> Aborted (core dumped)
>>
>>
>>
>>
>> El viernes, 8 de diciembre de 2017, 13:07:28 (UTC-5), Wolfgang Bangerth 
>> escribió:
>>>
>>>
>>> > Merge: fd97710 cceeb7c 
>>> > Author: Wolfgang Bangerth <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: 
>>> > 
>>> > Scanning dependencies of target pFEM 
>>> > [100%] Building CXX object CMakeFiles/pFEM.dir/pFEM.cc.o 
>>> > Linking CXX executable pFEM 
>>> > /mypath/pFEM.cc:370: error: undefined reference to 'void 
>>> > dealii::VectorTools::interpolate_boundary_values<2, 2, 
>>> > std::complex<double> >(dealii::hp::MappingCollection<2, 2> const&, 
>>> > dealii::hp::DoFHandler<2, 2> const&, std::map<unsigned int, 
>>> > dealii::Function<2, std::complex<double> > const*, std::less<unsigned 
>>> > int>, std::allocator<std::pair<unsigned int const, dealii::Function<2, 
>>> > std::complex<double> > const*> > > const&, std::map<unsigned int, 
>>> > std::complex<double>, std::less<unsigned int>, 
>>> > std::allocator<std::pair<unsigned int const, std::complex<double> > > 
>>> >  >&, dealii::ComponentMask const&)' 
>>>
>>> Yes, I apparently forgot to instantiate this one function as well. Patch 
>>> is here: 
>>>    https://github.com/dealii/dealii/pull/5602 
>>> It was just merged. 
>>>
>>> Best 
>>>   W. 
>>>
>>> -- 
>>> ------------------------------------------------------------------------ 
>>> Wolfgang Bangerth          email:                 bang...@colostate.edu 
>>>                             www: 
>>> http://www.math.colostate.edu/~bangerth/ 
>>>
>>

-- 
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 because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to