Re: [deal.II] Renumbering dofs with petsc + block + MPI + Direct solver work around

2017-02-16 Thread Timo Heister
> These are then used as input for constructing the fe_values and pulling out > the local velocity values. It is precisely when using the > fe_values.get_function_values(velocity_model->get_velocity(), > local_velocity_values) > > that the error > > fe_values.get_function_values() on the velocity

[deal.II] Re: installation problem

2017-02-16 Thread 'Uwe Köcher' via deal . II User Group
Dear Dip, you may take a look at our automatic installation script located under: www.github.com/dealii/candi or take a look on our freshly updated Download-Page: https://www.dealii.org/download.html for other installation sources. On Thursday, February 16, 2017 at 2:37:31 PM UTC+1, Dip Ghosh

[deal.II] Re: Neumann vector conditions

2017-02-16 Thread Jean-Paul Pelteret
Dear Franco, Super quick answer: Step-44 demonstrates how to implement the Neumann BC for elasticity . Best, Jean-Paul On Thursday, February 16, 2017 at 6:22:06 PM UTC+1, Franco Milicchio wrote: > > Dear a

[deal.II] Neumann vector conditions

2017-02-16 Thread Franco Milicchio
Dear all, I am implementing a very simple linear elastic problem, and I've succeeded in using Dirichlet conditions. However, reading the tutorial I am unable to implement a Neumann condition. In my simple example I have something like this: ^^ f +--+ | | | |

[deal.II] Inhomogeneous Neumann condition in time dependent problem and error analysis

2017-02-16 Thread Jane Lee
I'm having some issues playing around with step-26 of the tutorial. I don't have the deepest theoretical background so do bear with me if this is basic. I'm trying to impose inhomogeneous heat flux conditions on a simple rectangular domain where the bottom boundary has id 2 and the top has 1

[deal.II] Re: installation problem

2017-02-16 Thread Daniel Arndt
Dip, i don't know how to change the default installation directoryit always > uses the /usr/local/ path...any easy tutorial will be of great help.. > from the deal.II README[1] in section 2.2: [...] cmake -DCMAKE_INSTALL_PREFIX=/path/to/install/dir ../deal.II [...] Best, Daniel [1] http://

[deal.II] Re: installation problem

2017-02-16 Thread Dip Ghosh
Dear Jean-Paul Pelteret, i don't know how to change the default installation directoryit always uses the /usr/local/ path...any easy tutorial will be of great help.. Regards, Dip -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups

[deal.II] Re: Matrix tools in MatrixCreator namespace

2017-02-16 Thread Bruno Turcksin
Sumedh, On Thursday, February 16, 2017 at 6:58:48 AM UTC-5, Sumedh Yadav wrote: > > Hey Daniel, > Thanks for the reply! > I tried doing what you suggested. The code snippet: > void * ptr = nullptr; //I tried with NULL and 0 synonyms as well > Why are you using void* You should use const Functi

[deal.II] Re: Matrix tools in MatrixCreator namespace

2017-02-16 Thread Sumedh Yadav
Hey Daniel, Thanks for the reply! I tried doing what you suggested. The code snippet: void * ptr = nullptr; //I tried with NULL and 0 synonyms as well MatrixCreator::create_mass_matrix(dof_handler, QGauss(fe.degree+1), mass_matrix, ptr , constraints); The error: step-26.cc:209:69: error:

[deal.II] Re: installation problem

2017-02-16 Thread Jean-Paul Pelteret
Dear Dip, The clue is in the message you posted: cannot create directory: /usr/local/share/deal.II/scripts. Maybe need > administrative privileges. You can try to set the install prefix to another directory that you have write access to, such as your home directory. I hope that this helps.

[deal.II] installation problem

2017-02-16 Thread Dip Ghosh
hi, I performed a clean installation but it fails with the following message at the end: Install the project... -- Install configuration: "DebugRelease" CMake Error at cmake/scripts/cmake_install.cmake:36 (file): file cannot create directory: /usr/local/share/deal.II/scripts. Maybe need adm

[deal.II] Re: Matrix tools in MatrixCreator namespace

2017-02-16 Thread Daniel Arndt
Sumedh, I want to use the *create_mass_matrix* and *create_laplace_matrix* > functionality of MatrixCreator namespace. The function prototype here > requires to pass a pointer (which is by default 0 meaning that there is no > variable coefficient associated with variable or laplace of variable)

[deal.II] Matrix tools in MatrixCreator namespace

2017-02-16 Thread Sumedh Yadav
Hello, I want to use the *create_mass_matrix* and *create_laplace_matrix* functionality of MatrixCreator namespace. The function prototype here requires to pass a pointer (which is by default 0 meaning that there is no variable coefficient associated with variable or laplace of variable) to a f