[email protected] wrote:
> Hello
> 
> Is it possible to define my own shape functions ? Say if I want to use
> Bernstein polynomials as shape functions ? Is there any example on how
> to do this ?
> 
> What is the default shape functions used in deal.ii ?

The answer is yes, and while it is not totally straight forward, there are
actually some classes supporting you. As Markus has pointed out, you first
define your polynomial space. Then, you best check FE_Q or FE_DGQ for further
implementation details. They both rely on FE_Poly, so if you can use that, your
life already got much easier. It's also worth looking at FE_TensorPoly, since
that uses a more convenient interface for converting from the original shape
function basis to the one corresponding to the node functionals.

Best,
Guido
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to