CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Main CFD Forum (
-   -   indicator function on subdomain (

plocq March 4, 2012 07:07

indicator function on subdomain
Hi everybody,

I am a new user of Freefem++ and I have the following problem. I have defined a domain (a square) and then a mesh on this domain. I now want to define a function (func) that is a sum of indicator functions taking the value 1 on disks that are located in the domain (but these disks are not defined in the mesh!).
I have tried several things without success...

If someone can help me I would be glad :)

Thank you!

All times are GMT -4. The time now is 16:15.