{"action":"created","comment":{"url":"https://api.github.com/repos/cb-geo/mpm/pulls/comments/217336498","pull_request_review_id":155018871,"id":217336498,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNzMzNjQ5OA==","diff_hunk":"@@ -378,6 +380,48 @@ bool mpm::Mesh<Tdim>::assign_particles_tractions(\n   return status;\n }\n \n+//! Assign velocity constraints to cells\n+template <unsigned Tdim>\n+bool mpm::Mesh<Tdim>::assign_cell_velocity_constraints(\n+    const std::vector<std::tuple<mpm::Index, unsigned, unsigned, double>>&\n+        velocity_constraints) {\n+  bool status = false;\n+  try {\n+    // Check the number of nodes\n+    if (nodes_.size()) {","path":"include/mesh.tcc","position":41,"original_position":41,"commit_id":"28dd3ba6a3ba83dbfd4551ffa69add4c81e039a4","original_commit_id":"28dd3ba6a3ba83dbfd4551ffa69add4c81e039a4","user":{"login":"kks32","id":3963513,"node_id":"MDQ6VXNlcjM5NjM1MTM=","avatar_url":"https://avatars3.githubusercontent.com/u/3963513?v=4","gravatar_id":"","url":"https://api.github.com/users/kks32","html_url":"https://github.com/kks32","followers_url":"https://api.github.com/users/kks32/followers","following_url":"https://api.github.com/users/kks32/following{/other_user}","gists_url":"https://api.github.com/users/kks32/gists{/gist_id}","starred_url":"https://api.github.com/users/kks32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kks32/subscriptions","organizations_url":"https://api.github.com/users/kks32/orgs","repos_url":"https://api.github.com/users/kks32/repos","events_url":"https://api.github.com/users/kks32/events{/privacy}","received_events_url":"https://api.github.com/users/kks32/received_events","type":"User","site_admin":false},"body":"Use `!nodes_.size()`","created_at":"2018-09-13T10:33:52Z","updated_at":"2018-09-13T10:37:12Z","html_url":"https://github.com/cb-geo/mpm/pull/242#discussion_r217336498","pull_request_url":"https://api.github.com/repos/cb-geo/mpm/pulls/242","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/cb-geo/mpm/pulls/comments/217336498"},"html":{"href":"https://github.com/cb-geo/mpm/pull/242#discussion_r217336498"},"pull_request":{"href":"https://api.github.com/repos/cb-geo/mpm/pulls/242"}}},"pull_request":{"url":"https://api.github.com/repos/cb-geo/mpm/pulls/242","id":211600314,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExNjAwMzE0","html_url":"https://github.com/cb-geo/mpm/pull/242","diff_url":"https://github.com/cb-geo/mpm/pull/242.diff","patch_url":"https://github.com/cb-geo/mpm/pull/242.patch","issue_url":"https://api.github.com/repos/cb-geo/mpm/issues/242","number":242,"state":"open","locked":false,"title":"Assign velocity boundary to cell and compute normal","user":{"login":"ezrayst","id":22064721,"node_id":"MDQ6VXNlcjIyMDY0NzIx","avatar_url":"https://avatars3.githubusercontent.com/u/22064721?v=4","gravatar_id":"","url":"https://api.github.com/users/ezrayst","html_url":"https://github.com/ezrayst","followers_url":"https://api.github.com/users/ezrayst/followers","following_url":"https://api.github.com/users/ezrayst/following{/other_user}","gists_url":"https://api.github.com/users/ezrayst/gists{/gist_id}","starred_url":"https://api.github.com/users/ezrayst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezrayst/subscriptions","organizations_url":"https://api.github.com/users/ezrayst/orgs","repos_url":"https://api.github.com/users/ezrayst/repos","events_url":"https://api.github.com/users/ezrayst/events{/privacy}","received_events_url":"https://api.github.com/users/ezrayst/received_events","type":"User","site_admin":false},"body":"- Make functions to assign velocity boundary\r\n- Compute and store normals\r\n- Make test cases\r\n\r\nNote: need to merge with `face_id` first","created_at":"2018-08-29T01:08:20Z","updated_at":"2018-09-13T10:37:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ed574eca76e00a0739e95139b9fcc3e9b375983","assignee":{"login":"kks32","id":3963513,"node_id":"MDQ6VXNlcjM5NjM1MTM=","avatar_url":"https://avatars3.githubusercontent.com/u/3963513?v=4","gravatar_id":"","url":"https://api.github.com/users/kks32","html_url":"https://github.com/kks32","followers_url":"https://api.github.com/users/kks32/followers","following_url":"https://api.github.com/users/kks32/following{/other_user}","gists_url":"https://api.github.com/users/kks32/gists{/gist_id}","starred_url":"https://api.github.com/users/kks32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kks32/subscriptions","organizations_url":"https://api.github.com/users/kks32/orgs","repos_url":"https://api.github.com/users/kks32/repos","events_url":"https://api.github.com/users/kks32/events{/privacy}","received_events_url":"https://api.github.com/users/kks32/received_events","type":"User","site_admin":false},"assignees":[{"login":"kks32","id":3963513,"node_id":"MDQ6VXNlcjM5NjM1MTM=","avatar_url":"https://avatars3.githubusercontent.com/u/3963513?v=4","gravatar_id":"","url":"https://api.github.com/users/kks32","html_url":"https://github.com/kks32","followers_url":"https://api.github.com/users/kks32/followers","following_url":"https://api.github.com/users/kks32/following{/other_user}","gists_url":"https://api.github.com/users/kks32/gists{/gist_id}","starred_url":"https://api.github.com/users/kks32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kks32/subscriptions","organizations_url":"https://api.github.com/users/kks32/orgs","repos_url":"https://api.github.com/users/kks32/repos","events_url":"https://api.github.com/users/kks32/events{/privacy}","received_events_url":"https://api.github.com/users/kks32/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":679946688,"node_id":"MDU6TGFiZWw2Nzk5NDY2ODg=","url":"https://api.github.com/repos/cb-geo/mpm/labels/Priority:%20High","name":"Priority: High","color":"eb6420","default":false},{"id":679946705,"node_id":"MDU6TGFiZWw2Nzk5NDY3MDU=","url":"https://api.github.com/repos/cb-geo/mpm/labels/Status:%20Review%20needed","name":"Status: Review needed","color":"fbca04","default":false},{"id":679946710,"node_id":"MDU6TGFiZWw2Nzk5NDY3MTA=","url":"https://api.github.com/repos/cb-geo/mpm/labels/Type:%20Core%20feature","name":"Type: Core feature","color":"006b75","default":false}],"milestone":{"url":"https://api.github.com/repos/cb-geo/mpm/milestones/12","html_url":"https://github.com/cb-geo/mpm/milestone/12","labels_url":"https://api.github.com/repos/cb-geo/mpm/milestones/12/labels","id":3077452,"node_id":"MDk6TWlsZXN0b25lMzA3NzQ1Mg==","number":12,"title":"MPM Framework","description":"General MPM framework","creator":{"login":"kks32","id":3963513,"node_id":"MDQ6VXNlcjM5NjM1MTM=","avatar_url":"https://avatars3.githubusercontent.com/u/3963513?v=4","gravatar_id":"","url":"https://api.github.com/users/kks32","html_url":"https://github.com/kks32","followers_url":"https://api.github.com/users/kks32/followers","following_url":"https://api.github.com/users/kks32/following{/other_user}","gists_url":"https://api.github.com/users/kks32/gists{/gist_id}","starred_url":"https://api.github.com/users/kks32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kks32/subscriptions","organizations_url":"https://api.github.com/users/kks32/orgs","repos_url":"https://api.github.com/users/kks32/repos","events_url":"https://api.github.com/users/kks32/events{/privacy}","received_events_url":"https://api.github.com/users/kks32/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":150,"state":"open","created_at":"2018-01-31T10:54:15Z","updated_at":"2018-09-12T21:42:28Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/cb-geo/mpm/pulls/242/commits","review_comments_url":"https://api.github.com/repos/cb-geo/mpm/pulls/242/comments","review_comment_url":"https://api.github.com/repos/cb-geo/mpm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cb-geo/mpm/issues/242/comments","statuses_url":"https://api.github.com/repos/cb-geo/mpm/statuses/28dd3ba6a3ba83dbfd4551ffa69add4c81e039a4","head":{"label":"ezrayst:cell_boundary","ref":"cell_boundary","sha":"28dd3ba6a3ba83dbfd4551ffa69add4c81e039a4","user":{"login":"ezrayst","id":22064721,"node_id":"MDQ6VXNlcjIyMDY0NzIx","avatar_url":"https://avatars3.githubusercontent.com/u/22064721?v=4","gravatar_id":"","url":"https://api.github.com/users/ezrayst","html_url":"https://github.com/ezrayst","followers_url":"https://api.github.com/users/ezrayst/followers","following_url":"https://api.github.com/users/ezrayst/following{/other_user}","gists_url":"https://api.github.com/users/ezrayst/gists{/gist_id}","starred_url":"https://api.github.com/users/ezrayst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezrayst/subscriptions","organizations_url":"https://api.github.com/users/ezrayst/orgs","repos_url":"https://api.github.com/users/ezrayst/repos","events_url":"https://api.github.com/users/ezrayst/events{/privacy}","received_events_url":"https://api.github.com/users/ezrayst/received_events","type":"User","site_admin":false},"repo":{"id":130757490,"node_id":"MDEwOlJlcG9zaXRvcnkxMzA3NTc0OTA=","name":"mpm","full_name":"ezrayst/mpm","owner":{"login":"ezrayst","id":22064721,"node_id":"MDQ6VXNlcjIyMDY0NzIx","avatar_url":"https://avatars3.githubusercontent.com/u/22064721?v=4","gravatar_id":"","url":"https://api.github.com/users/ezrayst","html_url":"https://github.com/ezrayst","followers_url":"https://api.github.com/users/ezrayst/followers","following_url":"https://api.github.com/users/ezrayst/following{/other_user}","gists_url":"https://api.github.com/users/ezrayst/gists{/gist_id}","starred_url":"https://api.github.com/users/ezrayst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezrayst/subscriptions","organizations_url":"https://api.github.com/users/ezrayst/orgs","repos_url":"https://api.github.com/users/ezrayst/repos","events_url":"https://api.github.com/users/ezrayst/events{/privacy}","received_events_url":"https://api.github.com/users/ezrayst/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ezrayst/mpm","description":"Material Point Method","fork":true,"url":"https://api.github.com/repos/ezrayst/mpm","forks_url":"https://api.github.com/repos/ezrayst/mpm/forks","keys_url":"https://api.github.com/repos/ezrayst/mpm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ezrayst/mpm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ezrayst/mpm/teams","hooks_url":"https://api.github.com/repos/ezrayst/mpm/hooks","issue_events_url":"https://api.github.com/repos/ezrayst/mpm/issues/events{/number}","events_url":"https://api.github.com/repos/ezrayst/mpm/events","assignees_url":"https://api.github.com/repos/ezrayst/mpm/assignees{/user}","branches_url":"https://api.github.com/repos/ezrayst/mpm/branches{/branch}","tags_url":"https://api.github.com/repos/ezrayst/mpm/tags","blobs_url":"https://api.github.com/repos/ezrayst/mpm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ezrayst/mpm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ezrayst/mpm/git/refs{/sha}","trees_url":"https://api.github.com/repos/ezrayst/mpm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ezrayst/mpm/statuses/{sha}","languages_url":"https://api.github.com/repos/ezrayst/mpm/languages","stargazers_url":"https://api.github.com/repos/ezrayst/mpm/stargazers","contributors_url":"https://api.github.com/repos/ezrayst/mpm/contributors","subscribers_url":"https://api.github.com/repos/ezrayst/mpm/subscribers","subscription_url":"https://api.github.com/repos/ezrayst/mpm/subscription","commits_url":"https://api.github.com/repos/ezrayst/mpm/commits{/sha}","git_commits_url":"https://api.github.com/repos/ezrayst/mpm/git/commits{/sha}","comments_url":"https://api.github.com/repos/ezrayst/mpm/comments{/number}","issue_comment_url":"https://api.github.com/repos/ezrayst/mpm/issues/comments{/number}","contents_url":"https://api.github.com/repos/ezrayst/mpm/contents/{+path}","compare_url":"https://api.github.com/repos/ezrayst/mpm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ezrayst/mpm/merges","archive_url":"https://api.github.com/repos/ezrayst/mpm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ezrayst/mpm/downloads","issues_url":"https://api.github.com/repos/ezrayst/mpm/issues{/number}","pulls_url":"https://api.github.com/repos/ezrayst/mpm/pulls{/number}","milestones_url":"https://api.github.com/repos/ezrayst/mpm/milestones{/number}","notifications_url":"https://api.github.com/repos/ezrayst/mpm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ezrayst/mpm/labels{/name}","releases_url":"https://api.github.com/repos/ezrayst/mpm/releases{/id}","deployments_url":"https://api.github.com/repos/ezrayst/mpm/deployments","created_at":"2018-04-23T21:13:24Z","updated_at":"2018-09-12T23:18:46Z","pushed_at":"2018-09-12T23:34:57Z","git_url":"git://github.com/ezrayst/mpm.git","ssh_url":"git@github.com:ezrayst/mpm.git","clone_url":"https://github.com/ezrayst/mpm.git","svn_url":"https://github.com/ezrayst/mpm","homepage":null,"size":3554,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"cb-geo:develop","ref":"develop","sha":"c76898660b70c1931bfcfd87c96c4cc3b072e25a","user":{"login":"cb-geo","id":7850930,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4NTA5MzA=","avatar_url":"https://avatars2.githubusercontent.com/u/7850930?v=4","gravatar_id":"","url":"https://api.github.com/users/cb-geo","html_url":"https://github.com/cb-geo","followers_url":"https://api.github.com/users/cb-geo/followers","following_url":"https://api.github.com/users/cb-geo/following{/other_user}","gists_url":"https://api.github.com/users/cb-geo/gists{/gist_id}","starred_url":"https://api.github.com/users/cb-geo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cb-geo/subscriptions","organizations_url":"https://api.github.com/users/cb-geo/orgs","repos_url":"https://api.github.com/users/cb-geo/repos","events_url":"https://api.github.com/users/cb-geo/events{/privacy}","received_events_url":"https://api.github.com/users/cb-geo/received_events","type":"Organization","site_admin":false},"repo":{"id":101450464,"node_id":"MDEwOlJlcG9zaXRvcnkxMDE0NTA0NjQ=","name":"mpm","full_name":"cb-geo/mpm","owner":{"login":"cb-geo","id":7850930,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4NTA5MzA=","avatar_url":"https://avatars2.githubusercontent.com/u/7850930?v=4","gravatar_id":"","url":"https://api.github.com/users/cb-geo","html_url":"https://github.com/cb-geo","followers_url":"https://api.github.com/users/cb-geo/followers","following_url":"https://api.github.com/users/cb-geo/following{/other_user}","gists_url":"https://api.github.com/users/cb-geo/gists{/gist_id}","starred_url":"https://api.github.com/users/cb-geo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cb-geo/subscriptions","organizations_url":"https://api.github.com/users/cb-geo/orgs","repos_url":"https://api.github.com/users/cb-geo/repos","events_url":"https://api.github.com/users/cb-geo/events{/privacy}","received_events_url":"https://api.github.com/users/cb-geo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cb-geo/mpm","description":"Material Point Method","fork":false,"url":"https://api.github.com/repos/cb-geo/mpm","forks_url":"https://api.github.com/repos/cb-geo/mpm/forks","keys_url":"https://api.github.com/repos/cb-geo/mpm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cb-geo/mpm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cb-geo/mpm/teams","hooks_url":"https://api.github.com/repos/cb-geo/mpm/hooks","issue_events_url":"https://api.github.com/repos/cb-geo/mpm/issues/events{/number}","events_url":"https://api.github.com/repos/cb-geo/mpm/events","assignees_url":"https://api.github.com/repos/cb-geo/mpm/assignees{/user}","branches_url":"https://api.github.com/repos/cb-geo/mpm/branches{/branch}","tags_url":"https://api.github.com/repos/cb-geo/mpm/tags","blobs_url":"https://api.github.com/repos/cb-geo/mpm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cb-geo/mpm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cb-geo/mpm/git/refs{/sha}","trees_url":"https://api.github.com/repos/cb-geo/mpm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cb-geo/mpm/statuses/{sha}","languages_url":"https://api.github.com/repos/cb-geo/mpm/languages","stargazers_url":"https://api.github.com/repos/cb-geo/mpm/stargazers","contributors_url":"https://api.github.com/repos/cb-geo/mpm/contributors","subscribers_url":"https://api.github.com/repos/cb-geo/mpm/subscribers","subscription_url":"https://api.github.com/repos/cb-geo/mpm/subscription","commits_url":"https://api.github.com/repos/cb-geo/mpm/commits{/sha}","git_commits_url":"https://api.github.com/repos/cb-geo/mpm/git/commits{/sha}","comments_url":"https://api.github.com/repos/cb-geo/mpm/comments{/number}","issue_comment_url":"https://api.github.com/repos/cb-geo/mpm/issues/comments{/number}","contents_url":"https://api.github.com/repos/cb-geo/mpm/contents/{+path}","compare_url":"https://api.github.com/repos/cb-geo/mpm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cb-geo/mpm/merges","archive_url":"https://api.github.com/repos/cb-geo/mpm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cb-geo/mpm/downloads","issues_url":"https://api.github.com/repos/cb-geo/mpm/issues{/number}","pulls_url":"https://api.github.com/repos/cb-geo/mpm/pulls{/number}","milestones_url":"https://api.github.com/repos/cb-geo/mpm/milestones{/number}","notifications_url":"https://api.github.com/repos/cb-geo/mpm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cb-geo/mpm/labels{/name}","releases_url":"https://api.github.com/repos/cb-geo/mpm/releases{/id}","deployments_url":"https://api.github.com/repos/cb-geo/mpm/deployments","created_at":"2017-08-25T23:53:55Z","updated_at":"2018-09-12T21:42:30Z","pushed_at":"2018-09-12T23:35:00Z","git_url":"git://github.com/cb-geo/mpm.git","ssh_url":"git@github.com:cb-geo/mpm.git","clone_url":"https://github.com/cb-geo/mpm.git","svn_url":"https://github.com/cb-geo/mpm","homepage":null,"size":3451,"stargazers_count":5,"watchers_count":5,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":8,"open_issues":20,"watchers":5,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/cb-geo/mpm/pulls/242"},"html":{"href":"https://github.com/cb-geo/mpm/pull/242"},"issue":{"href":"https://api.github.com/repos/cb-geo/mpm/issues/242"},"comments":{"href":"https://api.github.com/repos/cb-geo/mpm/issues/242/comments"},"review_comments":{"href":"https://api.github.com/repos/cb-geo/mpm/pulls/242/comments"},"review_comment":{"href":"https://api.github.com/repos/cb-geo/mpm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cb-geo/mpm/pulls/242/commits"},"statuses":{"href":"https://api.github.com/repos/cb-geo/mpm/statuses/28dd3ba6a3ba83dbfd4551ffa69add4c81e039a4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"kks32"}}