{"action":"created","comment":{"url":"https://api.github.com/repos/ufz/ogs/pulls/comments/242513625","pull_request_review_id":186038732,"id":242513625,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MjUxMzYyNQ==","diff_hunk":"@@ -0,0 +1,104 @@\n+/**\n+ * \\file\n+ *\n+ * \\copyright\n+ * Copyright (c) 2012-2018, OpenGeoSys Community (http://www.opengeosys.org)\n+ *            Distributed under a Modified BSD License.\n+ *              See accompanying file LICENSE.txt or\n+ *              http://www.opengeosys.org/project/license\n+ *\n+ */\n+\n+#pragma once\n+\n+#include <memory>\n+#include <vector>\n+\n+#include \"NumLib/Extrapolation/ExtrapolatableElement.h\"\n+#include \"ProcessLib/LocalAssemblerInterface.h\"\n+\n+#include \"IntegrationPointDataNonlocalInterface.h\"\n+\n+namespace ProcessLib\n+{\n+namespace SmallDeformationNonlocal\n+{\n+template <int DisplacementDim>\n+struct SmallDeformationNonlocalLocalAssemblerInterface\n+    : public ProcessLib::LocalAssemblerInterface,\n+      public NumLib::ExtrapolatableElement\n+{\n+    virtual std::size_t setIPDataInitialConditions(\n+        std::string const& name, double const* values,\n+        int const integration_order) = 0;\n+\n+    virtual void setIPDataInitialConditionsFromCellData(\n+        std::string const& name, std::vector<double> const& value) = 0;\n+\n+    virtual void computeCrackIntegral(\n+        std::size_t mesh_item_id,\n+        NumLib::LocalToGlobalIndexMap const& dof_table, GlobalVector const& x,\n+        double& crack_volume) = 0;\n+\n+    virtual std::vector<double> const& getIntPtEpsPV(\n+        const double /*t*/,\n+        GlobalVector const& /*current_solution*/,\n+        NumLib::LocalToGlobalIndexMap const& /*dof_table*/,\n+        std::vector<double>& cache) const = 0;\n+    virtual std::vector<double> const& getIntPtEpsPDXX(\n+        const double /*t*/,\n+        GlobalVector const& /*current_solution*/,\n+        NumLib::LocalToGlobalIndexMap const& /*dof_table*/,\n+        std::vector<double>& cache) const = 0;\n+    virtual std::vector<double> getKappaD() const = 0;\n+    virtual std::vector<double> const& getIntPtDamage(\n+        const double /*t*/,\n+        GlobalVector const& /*current_solution*/,\n+        NumLib::LocalToGlobalIndexMap const& /*dof_table*/,\n+        std::vector<double>& cache) const = 0;\n+\n+    virtual std::vector<double> const& getIntPtFreeEnergyDensity(\n+        const double /*t*/,\n+        GlobalVector const& /*current_solution*/,\n+        NumLib::LocalToGlobalIndexMap const& /*dof_table*/,\n+        std::vector<double>& cache) const = 0;\n+\n+    virtual std::vector<double> getSigma() const = 0;\n+    virtual std::vector<double> const& getIntPtSigma(\n+        const double /*t*/,\n+        GlobalVector const& /*current_solution*/,\n+        NumLib::LocalToGlobalIndexMap const& /*dof_table*/,\n+        std::vector<double>& cache) const = 0;\n+\n+    virtual std::vector<double> const& getIntPtEpsilon(\n+        const double /*t*/,\n+        GlobalVector const& /*current_solution*/,\n+        NumLib::LocalToGlobalIndexMap const& /*dof_table*/,\n+        std::vector<double>& cache) const = 0;\n+\n+    // TODO move to NumLib::ExtrapolatableElement","path":"ProcessLib/SmallDeformationNonlocal/LocalAssemblerInterface.h","position":79,"original_position":79,"commit_id":"555b7591cb976963b730b9afc703b81028e61b0a","original_commit_id":"555b7591cb976963b730b9afc703b81028e61b0a","user":{"login":"TomFischer","id":800065,"node_id":"MDQ6VXNlcjgwMDA2NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/800065?v=4","gravatar_id":"","url":"https://api.github.com/users/TomFischer","html_url":"https://github.com/TomFischer","followers_url":"https://api.github.com/users/TomFischer/followers","following_url":"https://api.github.com/users/TomFischer/following{/other_user}","gists_url":"https://api.github.com/users/TomFischer/gists{/gist_id}","starred_url":"https://api.github.com/users/TomFischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomFischer/subscriptions","organizations_url":"https://api.github.com/users/TomFischer/orgs","repos_url":"https://api.github.com/users/TomFischer/repos","events_url":"https://api.github.com/users/TomFischer/events{/privacy}","received_events_url":"https://api.github.com/users/TomFischer/received_events","type":"User","site_admin":false},"body":"Is this TODO easy to fulfil?","created_at":"2018-12-18T12:14:30Z","updated_at":"2018-12-18T12:14:30Z","html_url":"https://github.com/ufz/ogs/pull/2294#discussion_r242513625","pull_request_url":"https://api.github.com/repos/ufz/ogs/pulls/2294","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/ufz/ogs/pulls/comments/242513625"},"html":{"href":"https://github.com/ufz/ogs/pull/2294#discussion_r242513625"},"pull_request":{"href":"https://api.github.com/repos/ufz/ogs/pulls/2294"}}},"pull_request":{"url":"https://api.github.com/repos/ufz/ogs/pulls/2294","id":237611280,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3NjExMjgw","html_url":"https://github.com/ufz/ogs/pull/2294","diff_url":"https://github.com/ufz/ogs/pull/2294.diff","patch_url":"https://github.com/ufz/ogs/pull/2294.patch","issue_url":"https://api.github.com/repos/ufz/ogs/issues/2294","number":2294,"state":"open","locked":false,"title":"SmallDeformation nonlocal","user":{"login":"endJunction","id":329493,"node_id":"MDQ6VXNlcjMyOTQ5Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/329493?v=4","gravatar_id":"","url":"https://api.github.com/users/endJunction","html_url":"https://github.com/endJunction","followers_url":"https://api.github.com/users/endJunction/followers","following_url":"https://api.github.com/users/endJunction/following{/other_user}","gists_url":"https://api.github.com/users/endJunction/gists{/gist_id}","starred_url":"https://api.github.com/users/endJunction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endJunction/subscriptions","organizations_url":"https://api.github.com/users/endJunction/orgs","repos_url":"https://api.github.com/users/endJunction/repos","events_url":"https://api.github.com/users/endJunction/events{/privacy}","received_events_url":"https://api.github.com/users/endJunction/received_events","type":"User","site_admin":false},"body":"Don't worry, most changes are the test cases, the code is around 2kLOC.\r\n\r\nBased on Francesco's paper (published, not yet available online) \"Experimental characterization and numerical modelling of fracture processes in granite\".\r\n\r\nMain difference to the SmallDeformation process is the additional, so called non-local integration loop.","created_at":"2018-12-11T09:48:21Z","updated_at":"2018-12-18T12:14:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c4599adec955c02491fe98848e3d5cd79f7a69d9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":104813989,"node_id":"MDU6TGFiZWwxMDQ4MTM5ODk=","url":"https://api.github.com/repos/ufz/ogs/labels/please%20review","name":"please review","color":"d4c5f9","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ufz/ogs/pulls/2294/commits","review_comments_url":"https://api.github.com/repos/ufz/ogs/pulls/2294/comments","review_comment_url":"https://api.github.com/repos/ufz/ogs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ufz/ogs/issues/2294/comments","statuses_url":"https://api.github.com/repos/ufz/ogs/statuses/555b7591cb976963b730b9afc703b81028e61b0a","head":{"label":"endJunction:SDNonlocal","ref":"SDNonlocal","sha":"555b7591cb976963b730b9afc703b81028e61b0a","user":{"login":"endJunction","id":329493,"node_id":"MDQ6VXNlcjMyOTQ5Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/329493?v=4","gravatar_id":"","url":"https://api.github.com/users/endJunction","html_url":"https://github.com/endJunction","followers_url":"https://api.github.com/users/endJunction/followers","following_url":"https://api.github.com/users/endJunction/following{/other_user}","gists_url":"https://api.github.com/users/endJunction/gists{/gist_id}","starred_url":"https://api.github.com/users/endJunction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endJunction/subscriptions","organizations_url":"https://api.github.com/users/endJunction/orgs","repos_url":"https://api.github.com/users/endJunction/repos","events_url":"https://api.github.com/users/endJunction/events{/privacy}","received_events_url":"https://api.github.com/users/endJunction/received_events","type":"User","site_admin":false},"repo":{"id":6429859,"node_id":"MDEwOlJlcG9zaXRvcnk2NDI5ODU5","name":"ogs","full_name":"endJunction/ogs","private":false,"owner":{"login":"endJunction","id":329493,"node_id":"MDQ6VXNlcjMyOTQ5Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/329493?v=4","gravatar_id":"","url":"https://api.github.com/users/endJunction","html_url":"https://github.com/endJunction","followers_url":"https://api.github.com/users/endJunction/followers","following_url":"https://api.github.com/users/endJunction/following{/other_user}","gists_url":"https://api.github.com/users/endJunction/gists{/gist_id}","starred_url":"https://api.github.com/users/endJunction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endJunction/subscriptions","organizations_url":"https://api.github.com/users/endJunction/orgs","repos_url":"https://api.github.com/users/endJunction/repos","events_url":"https://api.github.com/users/endJunction/events{/privacy}","received_events_url":"https://api.github.com/users/endJunction/received_events","type":"User","site_admin":false},"html_url":"https://github.com/endJunction/ogs","description":"OGS source code","fork":true,"url":"https://api.github.com/repos/endJunction/ogs","forks_url":"https://api.github.com/repos/endJunction/ogs/forks","keys_url":"https://api.github.com/repos/endJunction/ogs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/endJunction/ogs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/endJunction/ogs/teams","hooks_url":"https://api.github.com/repos/endJunction/ogs/hooks","issue_events_url":"https://api.github.com/repos/endJunction/ogs/issues/events{/number}","events_url":"https://api.github.com/repos/endJunction/ogs/events","assignees_url":"https://api.github.com/repos/endJunction/ogs/assignees{/user}","branches_url":"https://api.github.com/repos/endJunction/ogs/branches{/branch}","tags_url":"https://api.github.com/repos/endJunction/ogs/tags","blobs_url":"https://api.github.com/repos/endJunction/ogs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/endJunction/ogs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/endJunction/ogs/git/refs{/sha}","trees_url":"https://api.github.com/repos/endJunction/ogs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/endJunction/ogs/statuses/{sha}","languages_url":"https://api.github.com/repos/endJunction/ogs/languages","stargazers_url":"https://api.github.com/repos/endJunction/ogs/stargazers","contributors_url":"https://api.github.com/repos/endJunction/ogs/contributors","subscribers_url":"https://api.github.com/repos/endJunction/ogs/subscribers","subscription_url":"https://api.github.com/repos/endJunction/ogs/subscription","commits_url":"https://api.github.com/repos/endJunction/ogs/commits{/sha}","git_commits_url":"https://api.github.com/repos/endJunction/ogs/git/commits{/sha}","comments_url":"https://api.github.com/repos/endJunction/ogs/comments{/number}","issue_comment_url":"https://api.github.com/repos/endJunction/ogs/issues/comments{/number}","contents_url":"https://api.github.com/repos/endJunction/ogs/contents/{+path}","compare_url":"https://api.github.com/repos/endJunction/ogs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/endJunction/ogs/merges","archive_url":"https://api.github.com/repos/endJunction/ogs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/endJunction/ogs/downloads","issues_url":"https://api.github.com/repos/endJunction/ogs/issues{/number}","pulls_url":"https://api.github.com/repos/endJunction/ogs/pulls{/number}","milestones_url":"https://api.github.com/repos/endJunction/ogs/milestones{/number}","notifications_url":"https://api.github.com/repos/endJunction/ogs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/endJunction/ogs/labels{/name}","releases_url":"https://api.github.com/repos/endJunction/ogs/releases{/id}","deployments_url":"https://api.github.com/repos/endJunction/ogs/deployments","created_at":"2012-10-28T17:18:48Z","updated_at":"2018-11-14T09:24:52Z","pushed_at":"2018-12-18T11:15:44Z","git_url":"git://github.com/endJunction/ogs.git","ssh_url":"git@github.com:endJunction/ogs.git","clone_url":"https://github.com/endJunction/ogs.git","svn_url":"https://github.com/endJunction/ogs","homepage":"www.opengeosys.net","size":53241,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"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":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"ufz:master","ref":"master","sha":"3a69b360297b892104d857d7b5170e2b9773196d","user":{"login":"ufz","id":767517,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2NzUxNw==","avatar_url":"https://avatars3.githubusercontent.com/u/767517?v=4","gravatar_id":"","url":"https://api.github.com/users/ufz","html_url":"https://github.com/ufz","followers_url":"https://api.github.com/users/ufz/followers","following_url":"https://api.github.com/users/ufz/following{/other_user}","gists_url":"https://api.github.com/users/ufz/gists{/gist_id}","starred_url":"https://api.github.com/users/ufz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ufz/subscriptions","organizations_url":"https://api.github.com/users/ufz/orgs","repos_url":"https://api.github.com/users/ufz/repos","events_url":"https://api.github.com/users/ufz/events{/privacy}","received_events_url":"https://api.github.com/users/ufz/received_events","type":"Organization","site_admin":false},"repo":{"id":1701384,"node_id":"MDEwOlJlcG9zaXRvcnkxNzAxMzg0","name":"ogs","full_name":"ufz/ogs","private":false,"owner":{"login":"ufz","id":767517,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2NzUxNw==","avatar_url":"https://avatars3.githubusercontent.com/u/767517?v=4","gravatar_id":"","url":"https://api.github.com/users/ufz","html_url":"https://github.com/ufz","followers_url":"https://api.github.com/users/ufz/followers","following_url":"https://api.github.com/users/ufz/following{/other_user}","gists_url":"https://api.github.com/users/ufz/gists{/gist_id}","starred_url":"https://api.github.com/users/ufz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ufz/subscriptions","organizations_url":"https://api.github.com/users/ufz/orgs","repos_url":"https://api.github.com/users/ufz/repos","events_url":"https://api.github.com/users/ufz/events{/privacy}","received_events_url":"https://api.github.com/users/ufz/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ufz/ogs","description":"OGS-6 source code","fork":false,"url":"https://api.github.com/repos/ufz/ogs","forks_url":"https://api.github.com/repos/ufz/ogs/forks","keys_url":"https://api.github.com/repos/ufz/ogs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ufz/ogs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ufz/ogs/teams","hooks_url":"https://api.github.com/repos/ufz/ogs/hooks","issue_events_url":"https://api.github.com/repos/ufz/ogs/issues/events{/number}","events_url":"https://api.github.com/repos/ufz/ogs/events","assignees_url":"https://api.github.com/repos/ufz/ogs/assignees{/user}","branches_url":"https://api.github.com/repos/ufz/ogs/branches{/branch}","tags_url":"https://api.github.com/repos/ufz/ogs/tags","blobs_url":"https://api.github.com/repos/ufz/ogs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ufz/ogs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ufz/ogs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ufz/ogs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ufz/ogs/statuses/{sha}","languages_url":"https://api.github.com/repos/ufz/ogs/languages","stargazers_url":"https://api.github.com/repos/ufz/ogs/stargazers","contributors_url":"https://api.github.com/repos/ufz/ogs/contributors","subscribers_url":"https://api.github.com/repos/ufz/ogs/subscribers","subscription_url":"https://api.github.com/repos/ufz/ogs/subscription","commits_url":"https://api.github.com/repos/ufz/ogs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ufz/ogs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ufz/ogs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ufz/ogs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ufz/ogs/contents/{+path}","compare_url":"https://api.github.com/repos/ufz/ogs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ufz/ogs/merges","archive_url":"https://api.github.com/repos/ufz/ogs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ufz/ogs/downloads","issues_url":"https://api.github.com/repos/ufz/ogs/issues{/number}","pulls_url":"https://api.github.com/repos/ufz/ogs/pulls{/number}","milestones_url":"https://api.github.com/repos/ufz/ogs/milestones{/number}","notifications_url":"https://api.github.com/repos/ufz/ogs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ufz/ogs/labels{/name}","releases_url":"https://api.github.com/repos/ufz/ogs/releases{/id}","deployments_url":"https://api.github.com/repos/ufz/ogs/deployments","created_at":"2011-05-04T14:09:57Z","updated_at":"2018-12-17T12:33:18Z","pushed_at":"2018-12-18T11:15:46Z","git_url":"git://github.com/ufz/ogs.git","ssh_url":"git@github.com:ufz/ogs.git","clone_url":"https://github.com/ufz/ogs.git","svn_url":"https://github.com/ufz/ogs","homepage":"https://www.opengeosys.org","size":39774,"stargazers_count":41,"watchers_count":41,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":144,"mirror_url":null,"archived":false,"open_issues_count":121,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":144,"open_issues":121,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ufz/ogs/pulls/2294"},"html":{"href":"https://github.com/ufz/ogs/pull/2294"},"issue":{"href":"https://api.github.com/repos/ufz/ogs/issues/2294"},"comments":{"href":"https://api.github.com/repos/ufz/ogs/issues/2294/comments"},"review_comments":{"href":"https://api.github.com/repos/ufz/ogs/pulls/2294/comments"},"review_comment":{"href":"https://api.github.com/repos/ufz/ogs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ufz/ogs/pulls/2294/commits"},"statuses":{"href":"https://api.github.com/repos/ufz/ogs/statuses/555b7591cb976963b730b9afc703b81028e61b0a"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"TomFischer"}}