On 12/6/23 15:06, Lance Zhang wrote:
My question is whether I can use NURBS to create the same grids and how I
could create the grids with the NURBS.
Can you explain what you mean by this? NURBS are basis functions, a mesh is a
subdivision of a domain into cells. These are not the same thing,
Hello Daniel,
thanks for your message.
I know how to find the cell index.
Could I ask one more question?
The question is about the grid.
In code I used the function below to create the grid.
template
Point grid_y_transform (const Point _in)
{
const double = pt_in[0];
const
Lance,
Have a look at GridTools::vertex_to_cell_map(
https://www.dealii.org/current/doxygen/deal.II/namespaceGridTools.html#a9b7e2ca8ecd26a472e5225ba91a58acb
).
Best,
Daniel
On Sun, Dec 3, 2023 at 11:38 PM Lance Zhang wrote:
> Hello team,
>
> may I know how to find the cell index with the
Hello team,
may I know how to find the cell index with the information of its global
Dofs index?
I have the global dofs index ,I would like to find which cell this global
dof belongs to.
Thanks in advance!
Best regards
Lance
--
The deal.II project is located at http://www.dealii.org/
For