Re: [deal.II] Constrain a node instead of a face

2023-02-02 Thread Wolfgang Bangerth
I have a simple domain having nodal coordinate as follows: node 1: (0,0) node 2: (1,0) node 3: (1,1) node 4: (0,1) I want to fix node 1 in the x and y directions, and node 2 in only the y direction. What you need to do is find out which vertex contains the node you care about, then which

[deal.II] Constrain a node instead of a face

2023-02-01 Thread Giang Huynh
Hi all, I have a simple domain having nodal coordinate as follows: node 1: (0,0) node 2: (1,0) node 3: (1,1) node 4: (0,1) I want to fix node 1 in the x and y directions, and node 2 in only the y direction. Currently, I just have known one way to apply constraints in Deal.II by using: