This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Is it possible to specify custom integration schemes in FEniCS

+7 votes

Dear All

I am planning to develop a molecular finite element code. In some elements
I require custom integration schemes to be able to evaluate
finite element matrices of the Coulomb potential.
Googling for this only brought up a related question with the answer that
it cannot be done. That would be a pity and would force me to
use dealII instead which , because it works with C++ requires a lot more programming.

regards

Moritz

asked Jan 12, 2014 by moritzbraun FEniCS User (1,390 points)

1 Answer

+6 votes
 
Best answer

Actually you can do it. In FEniCS 1.3.0 you can merely tweak ffc/quadrature_schemes.py. It is pretty straightforward.

answered Jan 13, 2014 by Jan Blechta FEniCS Expert (51,420 points)
selected Jan 22, 2014 by Marie E. Rognes

Dear Jan

Thanks a lot

I require this functionality urgently

regards

Moritz

...