[deal.II] Re: Issue with boost serialization and spack?

2019-10-01 Thread Denis Davydov
Hi Konrad, On Monday, September 30, 2019 at 3:55:20 PM UTC+2, Konrad Simon wrote: > > Thank you, Denis. I use a pretty stupid (but simple) workaround: I setup > and compile deal.ii myself since all dependencies are compiled and use the > cmake command used by spack. That works. And I do not get

[deal.II] Re: error during installation with spack on CentOS7

2019-10-01 Thread Denis Davydov
Hi Alberto, Such issues should ideally be reported to Perl, because that's the issue with their package. Or at least to Spack in a hope that the community can come up with some patch to workaround the build issue in Perl. For you to go on simply tell Spack to use Perl from system: perl:

Re: [deal.II] Using interpolate_boundary_conditions

2019-10-01 Thread Amy Kaczmarowski
Perfect! Thank you this was exactly what I was missing. Amy On Tuesday, October 1, 2019 at 3:18:20 PM UTC-6, Wolfgang Bangerth wrote: > > > Amy, > > > template > > class BoundaryValuesU : public Function{ > >public: > > You are correct: You need to tell the base class how many vector

Re: [deal.II] Using interpolate_boundary_conditions

2019-10-01 Thread Wolfgang Bangerth
Amy, > template > class BoundaryValuesU : public Function{ >   public: You are correct: You need to tell the base class how many vector components your function has. You should be able to do this by adding a constructor: BoundaryValuesU () : Function (dim)// your function has

Re: [deal.II] Data postprocessing with two dof handlers

2019-10-01 Thread Wolfgang Bangerth
On 10/1/19 10:23 AM, Konrad Wiśniewski wrote: > > I'm looking for quick advise. In my calculations I solve two equations (in > 2D) > consecutively: the Poisson equation where I obtain electric field *E*, and > then I solve the continuity equation where I obtain e.g. density of electrons >

Re: [deal.II] error during installation with spack on CentOS7

2019-10-01 Thread Wolfgang Bangerth
On 10/1/19 11:02 AM, Alberto Salvadori wrote: > > Can you perhaps provide suggestions on what possibly went wrong? To add > further information, I did not add any limit version of suite-sparse, i.e. It looks to me like spack fails while compiling Perl. I don't think there's anything we can do

[deal.II] error during installation with spack on CentOS7

2019-10-01 Thread Alberto Salvadori
Dear community I have been trying to install deal.ii on a linux machine equipped with CentOS7. As very clearly explained in " https://github.com/dealii/dealii/wiki/deal.II-in-Spack#check-before-build " I have installed the latest version of gcc, openmpi, cmake. [deal.ii@localhost spack]$ gcc

[deal.II] Data postprocessing with two dof handlers

2019-10-01 Thread Konrad Wiśniewski
Hi! I'm looking for quick advise. In my calculations I solve two equations (in 2D) consecutively: the Poisson equation where I obtain electric field *E*, and then I solve the continuity equation where I obtain e.g. density of electrons *n*. I want to get current that is *j* = C*nE* where

[deal.II] Re: Using interpolate_boundary_conditions

2019-10-01 Thread Paras Kumar
Hi Amy, I post below one possible solution which worked for me. On Tuesday, October 1, 2019 at 4:44:25 AM UTC+2, Amy Kaczmarowski wrote: > > Hi, > > I'm attempting to apply a displacement boundary condition on a surface in > my problem. However, I would like the direction of the displacement