← Back to team overview

dolfin team mailing list archive

[Question #129296]: defining a discrete function

 

New question #129296 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/129296

Hello, I would like to ask how someone can define a discrete function using a vector  which contains the values of the function at the nodes. The demo 'advection-diffusion' shows how the values at the nodes can be read  from an .xml file, but I couldn't find any relevant example on how you can define in C++ a vector containing these values. I would be grateful if anyone can suggest a solution.

Andi

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



Follow ups