Re: [deal.II] Anisotropic diffusion implementation

2020-12-17 Thread Corbin Foucart
It seems my images were not rendered -- here they are in order as attachments. On Thu, Dec 17, 2020 at 10:56 PM Corbin Foucart wrote: > I have a problem with direction-dependent diffusion (that is, the > diffusivity \nu depends on the derivative direction but not spatial > location) such that

[deal.II] Anisotropic diffusion implementation

2020-12-17 Thread Corbin Foucart
I have a problem with direction-dependent diffusion (that is, the diffusivity \nu depends on the derivative direction but not spatial location) such that the horizontal diffusivity and vertical diffusivity are different, leading to a Laplacian as follows: I am discretizing the problem with a

Re: [deal.II] Tie constraints in deall.II?

2020-12-17 Thread Alex Cumberworth
Thanks for the information. Unfortunately I am more interested in the second case, so I will look around for examples of the mortar element/master slave approach. Alex On Thursday, December 17, 2020 at 2:11:14 a.m. UTC+1 Wolfgang Bangerth wrote: > > > I am considering switching to deal.II

Re: [deal.II] Using external libraries with deal.II

2020-12-17 Thread Wolfgang Bangerth
On 12/17/20 12:54 PM, Daniel Arndt wrote: in the CMakeLists.txt for your project. In other words, you don't need to do anything about deal.II itself at all unless you plan on modifying deal.II to use these external libraries. Best W. --

Re: [deal.II] Using external libraries with deal.II

2020-12-17 Thread Daniel Arndt
Animesh, Assuming that the packages export CMake configurations you can just do a standard find_package(Spectra REQUIRED) target_link_libraries(my_project Spectra::Spectra) in the CMakeLists.txt for your project. Best, Daniel Am Do., 17. Dez. 2020 um 14:19 Uhr schrieb Animesh Rastogi IIT

[deal.II] Using external libraries with deal.II

2020-12-17 Thread Animesh Rastogi IIT Gandhinagar
Dear deal.II community I would like to use some external libraries such as Eigen and Spectra in dealii for one of my projects. These are both header-only C++ libraries. Could someone please tell me about how to integrate these libraries (installed in my system) with dealii? What changes do I

[deal.II] Re: Making ParticlesHandler work with dealii::Triangulation and mesh refinement/coarsening

2020-12-17 Thread WU, Qihang
Hi Wolfgang, Bruno and all community members, My apologies for a delayed reply as I was pondering on a good way to replicate the problem without bogging you down with the unnecessary dependencies in my program. So what I come up with is to adapt the step-22 by adding a particle handler object

[deal.II] Re: error encountered while using matrix free in GPU with periodic BCs

2020-12-17 Thread Sambit Das
Hi Bruno, Thank you for your reply. Vishal and me are collaborating on implementing hybrid functionals in the DFT-FE code, with Vishal taking the lead on this project. Our exploration of the GPU ported matrix-free poisson solve in GPU is in that context. I did take a look at the