Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Set material in mesh.elements

More
1 year 3 months ago #4606 by lahoussaine
Hy, 
I have a question about setting material,
Sometime i want to set a specific material in each element of a mesh ( for example for elemnts x>0 .. )
In some solvers we have this  : 
for a region  n 
I do get_dof_on_region(n)
then i apply what i want in each dof
Time to create page: 0.141 seconds