You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
279 B

3 years ago
%--------------------------
% @Author: Jingqiao Hu
% @Date: 2021-02-28 16:31:40
% @LastEditTime: 2021-02-28 16:32:01
%--------------------------
function bdofs = nodes2dofs(boundarys)
bdofs = [3*boundarys(:)-2, 3*boundarys(:)-1, 3*boundarys(:)]';
bdofs = bdofs(:);
end