dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #00036
Re: Children of cells
Not really, you can find the answer by a simple command... ;-)
iant:~/tmp/dolfin-0.5.0/src/kernel/mesh> grep initChildren
*MeshRefinement.cpp | sort | uniq
TetMeshRefinement.cpp: cell.initChildren(1);
TetMeshRefinement.cpp: cell.initChildren(2);
TetMeshRefinement.cpp: cell.initChildren(3);
TetMeshRefinement.cpp: cell.initChildren(4);
TetMeshRefinement.cpp: cell.initChildren(8);
TriMeshRefinement.cpp: cell.initChildren(1);
TriMeshRefinement.cpp: cell.initChildren(2);
TriMeshRefinement.cpp: cell.initChildren(3);
TriMeshRefinement.cpp: cell.initChildren(4);
Note that the number of children is at least one for each cell.
/Anders
PS: I send this to the mailing list in case someone else is interested.
> Hej Anders,
> Hur många children kan en cell få då den förfinas i dolfin.
> Stämmer det att en triangel kan ha 0, 2, eller 4 children och att en
tetraeder kan ha 0, 4 eller 8?
>
> /Erik