{"action":"created","comment":{"url":"https://api.github.com/repos/flow123d/flow123d/pulls/comments/39838072","id":39838072,"diff_hunk":"@@ -300,6 +364,67 @@ void HeatTransferModel::compute_dirichlet_bc(const std::vector<arma::vec3> &poin\n \t\tbc_values[i] = bc_value[i];\n }\n \n+void HeatTransferModel::get_total_flux_bc_data(const std::vector<arma::vec3> &point_list,\n+\t\tconst ElementAccessor<3> &ele_acc,\n+\t\tstd::vector< arma::vec > &bc_flux,\n+\t\tstd::vector< arma::vec > &bc_ad_value,\n+\t\tstd::vector< arma::vec > &bc_sigma,\n+\t\tstd::vector< arma::vec > &bc_ref_value)\n+{\n+\tconst unsigned int np = point_list.size();\n+\tvector<double> bc_flux_scalar(np),\n+\t\t\tbc_ad_temperature(np),\n+\t\t\tbc_robin_sigma(np),\n+\t\t\tbc_temperature(np);\n+\n+\tdata().bc_flux.value_list(point_list, ele_acc, bc_flux_scalar);\n+\tdata().bc_ad_temperature.value_list(point_list, ele_acc, bc_ad_temperature);\n+\tdata().bc_robin_sigma.value_list(point_list, ele_acc, bc_robin_sigma);\n+\tdata().bc_temperature.value_list(point_list, ele_acc, bc_temperature);\n+\n+\tfor (unsigned int i=0; i<np; i++)\n+\t{\n+\t\tbc_flux[i] = bc_flux_scalar[i];\n+\t\tbc_ad_value[i] = bc_ad_temperature[i];\n+\t\tbc_sigma[i] = bc_robin_sigma[i];\n+\t\tbc_ref_value[i] = bc_temperature[i];\n+\t}\n+}\n+\n+void HeatTransferModel::get_diffusive_flux_bc_data(const std::vector<arma::vec3> &point_list,","path":"src/transport/heat_model.cc","position":133,"original_position":133,"commit_id":"4dd7eba254fe3c2fd45e604cf2b39a0a186d0608","original_commit_id":"4dd7eba254fe3c2fd45e604cf2b39a0a186d0608","user":{"login":"jbrezmorf","id":326204,"avatar_url":"https://avatars.githubusercontent.com/u/326204?v=3","gravatar_id":"","url":"https://api.github.com/users/jbrezmorf","html_url":"https://github.com/jbrezmorf","followers_url":"https://api.github.com/users/jbrezmorf/followers","following_url":"https://api.github.com/users/jbrezmorf/following{/other_user}","gists_url":"https://api.github.com/users/jbrezmorf/gists{/gist_id}","starred_url":"https://api.github.com/users/jbrezmorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbrezmorf/subscriptions","organizations_url":"https://api.github.com/users/jbrezmorf/orgs","repos_url":"https://api.github.com/users/jbrezmorf/repos","events_url":"https://api.github.com/users/jbrezmorf/events{/privacy}","received_events_url":"https://api.github.com/users/jbrezmorf/received_events","type":"User","site_admin":false},"body":"Do not try to make fields of heat model scalar at this time. This makes lot of boiler plate and could be probably avoided when we use multifields (we have to do that soon, should discus it).","created_at":"2015-09-18T09:28:28Z","updated_at":"2015-09-18T09:28:28Z","html_url":"https://github.com/flow123d/flow123d/pull/421#discussion_r39838072","pull_request_url":"https://api.github.com/repos/flow123d/flow123d/pulls/421","_links":{"self":{"href":"https://api.github.com/repos/flow123d/flow123d/pulls/comments/39838072"},"html":{"href":"https://github.com/flow123d/flow123d/pull/421#discussion_r39838072"},"pull_request":{"href":"https://api.github.com/repos/flow123d/flow123d/pulls/421"}}},"pull_request":{"url":"https://api.github.com/repos/flow123d/flow123d/pulls/421","id":43864294,"html_url":"https://github.com/flow123d/flow123d/pull/421","diff_url":"https://github.com/flow123d/flow123d/pull/421.diff","patch_url":"https://github.com/flow123d/flow123d/pull/421.patch","issue_url":"https://api.github.com/repos/flow123d/flow123d/issues/421","number":421,"state":"open","locked":false,"title":"Js transport bc","user":{"login":"jstebel","id":5626587,"avatar_url":"https://avatars.githubusercontent.com/u/5626587?v=3","gravatar_id":"","url":"https://api.github.com/users/jstebel","html_url":"https://github.com/jstebel","followers_url":"https://api.github.com/users/jstebel/followers","following_url":"https://api.github.com/users/jstebel/following{/other_user}","gists_url":"https://api.github.com/users/jstebel/gists{/gist_id}","starred_url":"https://api.github.com/users/jstebel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstebel/subscriptions","organizations_url":"https://api.github.com/users/jstebel/orgs","repos_url":"https://api.github.com/users/jstebel/repos","events_url":"https://api.github.com/users/jstebel/events{/privacy}","received_events_url":"https://api.github.com/users/jstebel/received_events","type":"User","site_admin":false},"body":"Proposal of transport and heat boundary conditions. If OK then some tests need to be added.\r\n\r\nResolves #414.","created_at":"2015-09-01T11:23:41Z","updated_at":"2015-09-18T09:28:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d2c2d91e61faa7531e34be660adf6d44e23a921","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/flow123d/flow123d/pulls/421/commits","review_comments_url":"https://api.github.com/repos/flow123d/flow123d/pulls/421/comments","review_comment_url":"https://api.github.com/repos/flow123d/flow123d/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flow123d/flow123d/issues/421/comments","statuses_url":"https://api.github.com/repos/flow123d/flow123d/statuses/4dd7eba254fe3c2fd45e604cf2b39a0a186d0608","head":{"label":"flow123d:JS_transport_bc","ref":"JS_transport_bc","sha":"4dd7eba254fe3c2fd45e604cf2b39a0a186d0608","user":{"login":"flow123d","id":5418109,"avatar_url":"https://avatars.githubusercontent.com/u/5418109?v=3","gravatar_id":"","url":"https://api.github.com/users/flow123d","html_url":"https://github.com/flow123d","followers_url":"https://api.github.com/users/flow123d/followers","following_url":"https://api.github.com/users/flow123d/following{/other_user}","gists_url":"https://api.github.com/users/flow123d/gists{/gist_id}","starred_url":"https://api.github.com/users/flow123d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flow123d/subscriptions","organizations_url":"https://api.github.com/users/flow123d/orgs","repos_url":"https://api.github.com/users/flow123d/repos","events_url":"https://api.github.com/users/flow123d/events{/privacy}","received_events_url":"https://api.github.com/users/flow123d/received_events","type":"Organization","site_admin":false},"repo":{"id":13628170,"name":"flow123d","full_name":"flow123d/flow123d","owner":{"login":"flow123d","id":5418109,"avatar_url":"https://avatars.githubusercontent.com/u/5418109?v=3","gravatar_id":"","url":"https://api.github.com/users/flow123d","html_url":"https://github.com/flow123d","followers_url":"https://api.github.com/users/flow123d/followers","following_url":"https://api.github.com/users/flow123d/following{/other_user}","gists_url":"https://api.github.com/users/flow123d/gists{/gist_id}","starred_url":"https://api.github.com/users/flow123d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flow123d/subscriptions","organizations_url":"https://api.github.com/users/flow123d/orgs","repos_url":"https://api.github.com/users/flow123d/repos","events_url":"https://api.github.com/users/flow123d/events{/privacy}","received_events_url":"https://api.github.com/users/flow123d/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flow123d/flow123d","description":"Main repository of the Flow123d project.","fork":false,"url":"https://api.github.com/repos/flow123d/flow123d","forks_url":"https://api.github.com/repos/flow123d/flow123d/forks","keys_url":"https://api.github.com/repos/flow123d/flow123d/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flow123d/flow123d/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flow123d/flow123d/teams","hooks_url":"https://api.github.com/repos/flow123d/flow123d/hooks","issue_events_url":"https://api.github.com/repos/flow123d/flow123d/issues/events{/number}","events_url":"https://api.github.com/repos/flow123d/flow123d/events","assignees_url":"https://api.github.com/repos/flow123d/flow123d/assignees{/user}","branches_url":"https://api.github.com/repos/flow123d/flow123d/branches{/branch}","tags_url":"https://api.github.com/repos/flow123d/flow123d/tags","blobs_url":"https://api.github.com/repos/flow123d/flow123d/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flow123d/flow123d/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flow123d/flow123d/git/refs{/sha}","trees_url":"https://api.github.com/repos/flow123d/flow123d/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flow123d/flow123d/statuses/{sha}","languages_url":"https://api.github.com/repos/flow123d/flow123d/languages","stargazers_url":"https://api.github.com/repos/flow123d/flow123d/stargazers","contributors_url":"https://api.github.com/repos/flow123d/flow123d/contributors","subscribers_url":"https://api.github.com/repos/flow123d/flow123d/subscribers","subscription_url":"https://api.github.com/repos/flow123d/flow123d/subscription","commits_url":"https://api.github.com/repos/flow123d/flow123d/commits{/sha}","git_commits_url":"https://api.github.com/repos/flow123d/flow123d/git/commits{/sha}","comments_url":"https://api.github.com/repos/flow123d/flow123d/comments{/number}","issue_comment_url":"https://api.github.com/repos/flow123d/flow123d/issues/comments{/number}","contents_url":"https://api.github.com/repos/flow123d/flow123d/contents/{+path}","compare_url":"https://api.github.com/repos/flow123d/flow123d/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flow123d/flow123d/merges","archive_url":"https://api.github.com/repos/flow123d/flow123d/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flow123d/flow123d/downloads","issues_url":"https://api.github.com/repos/flow123d/flow123d/issues{/number}","pulls_url":"https://api.github.com/repos/flow123d/flow123d/pulls{/number}","milestones_url":"https://api.github.com/repos/flow123d/flow123d/milestones{/number}","notifications_url":"https://api.github.com/repos/flow123d/flow123d/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flow123d/flow123d/labels{/name}","releases_url":"https://api.github.com/repos/flow123d/flow123d/releases{/id}","created_at":"2013-10-16T18:56:28Z","updated_at":"2015-08-06T06:10:55Z","pushed_at":"2015-09-18T09:02:11Z","git_url":"git://github.com/flow123d/flow123d.git","ssh_url":"git@github.com:flow123d/flow123d.git","clone_url":"https://github.com/flow123d/flow123d.git","svn_url":"https://github.com/flow123d/flow123d","homepage":"<img> http://dev.nti.tul.cz:8080/job/Flow123d/badge/icon </img>","size":95184,"stargazers_count":3,"watchers_count":3,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":112,"forks":3,"open_issues":112,"watchers":3,"default_branch":"master"}},"base":{"label":"flow123d:master","ref":"master","sha":"6e01072739fa204ea6ef4b0386f528ae0f571cc2","user":{"login":"flow123d","id":5418109,"avatar_url":"https://avatars.githubusercontent.com/u/5418109?v=3","gravatar_id":"","url":"https://api.github.com/users/flow123d","html_url":"https://github.com/flow123d","followers_url":"https://api.github.com/users/flow123d/followers","following_url":"https://api.github.com/users/flow123d/following{/other_user}","gists_url":"https://api.github.com/users/flow123d/gists{/gist_id}","starred_url":"https://api.github.com/users/flow123d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flow123d/subscriptions","organizations_url":"https://api.github.com/users/flow123d/orgs","repos_url":"https://api.github.com/users/flow123d/repos","events_url":"https://api.github.com/users/flow123d/events{/privacy}","received_events_url":"https://api.github.com/users/flow123d/received_events","type":"Organization","site_admin":false},"repo":{"id":13628170,"name":"flow123d","full_name":"flow123d/flow123d","owner":{"login":"flow123d","id":5418109,"avatar_url":"https://avatars.githubusercontent.com/u/5418109?v=3","gravatar_id":"","url":"https://api.github.com/users/flow123d","html_url":"https://github.com/flow123d","followers_url":"https://api.github.com/users/flow123d/followers","following_url":"https://api.github.com/users/flow123d/following{/other_user}","gists_url":"https://api.github.com/users/flow123d/gists{/gist_id}","starred_url":"https://api.github.com/users/flow123d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flow123d/subscriptions","organizations_url":"https://api.github.com/users/flow123d/orgs","repos_url":"https://api.github.com/users/flow123d/repos","events_url":"https://api.github.com/users/flow123d/events{/privacy}","received_events_url":"https://api.github.com/users/flow123d/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flow123d/flow123d","description":"Main repository of the Flow123d project.","fork":false,"url":"https://api.github.com/repos/flow123d/flow123d","forks_url":"https://api.github.com/repos/flow123d/flow123d/forks","keys_url":"https://api.github.com/repos/flow123d/flow123d/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flow123d/flow123d/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flow123d/flow123d/teams","hooks_url":"https://api.github.com/repos/flow123d/flow123d/hooks","issue_events_url":"https://api.github.com/repos/flow123d/flow123d/issues/events{/number}","events_url":"https://api.github.com/repos/flow123d/flow123d/events","assignees_url":"https://api.github.com/repos/flow123d/flow123d/assignees{/user}","branches_url":"https://api.github.com/repos/flow123d/flow123d/branches{/branch}","tags_url":"https://api.github.com/repos/flow123d/flow123d/tags","blobs_url":"https://api.github.com/repos/flow123d/flow123d/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flow123d/flow123d/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flow123d/flow123d/git/refs{/sha}","trees_url":"https://api.github.com/repos/flow123d/flow123d/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flow123d/flow123d/statuses/{sha}","languages_url":"https://api.github.com/repos/flow123d/flow123d/languages","stargazers_url":"https://api.github.com/repos/flow123d/flow123d/stargazers","contributors_url":"https://api.github.com/repos/flow123d/flow123d/contributors","subscribers_url":"https://api.github.com/repos/flow123d/flow123d/subscribers","subscription_url":"https://api.github.com/repos/flow123d/flow123d/subscription","commits_url":"https://api.github.com/repos/flow123d/flow123d/commits{/sha}","git_commits_url":"https://api.github.com/repos/flow123d/flow123d/git/commits{/sha}","comments_url":"https://api.github.com/repos/flow123d/flow123d/comments{/number}","issue_comment_url":"https://api.github.com/repos/flow123d/flow123d/issues/comments{/number}","contents_url":"https://api.github.com/repos/flow123d/flow123d/contents/{+path}","compare_url":"https://api.github.com/repos/flow123d/flow123d/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flow123d/flow123d/merges","archive_url":"https://api.github.com/repos/flow123d/flow123d/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flow123d/flow123d/downloads","issues_url":"https://api.github.com/repos/flow123d/flow123d/issues{/number}","pulls_url":"https://api.github.com/repos/flow123d/flow123d/pulls{/number}","milestones_url":"https://api.github.com/repos/flow123d/flow123d/milestones{/number}","notifications_url":"https://api.github.com/repos/flow123d/flow123d/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flow123d/flow123d/labels{/name}","releases_url":"https://api.github.com/repos/flow123d/flow123d/releases{/id}","created_at":"2013-10-16T18:56:28Z","updated_at":"2015-08-06T06:10:55Z","pushed_at":"2015-09-18T09:02:11Z","git_url":"git://github.com/flow123d/flow123d.git","ssh_url":"git@github.com:flow123d/flow123d.git","clone_url":"https://github.com/flow123d/flow123d.git","svn_url":"https://github.com/flow123d/flow123d","homepage":"<img> http://dev.nti.tul.cz:8080/job/Flow123d/badge/icon </img>","size":95184,"stargazers_count":3,"watchers_count":3,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":112,"forks":3,"open_issues":112,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flow123d/flow123d/pulls/421"},"html":{"href":"https://github.com/flow123d/flow123d/pull/421"},"issue":{"href":"https://api.github.com/repos/flow123d/flow123d/issues/421"},"comments":{"href":"https://api.github.com/repos/flow123d/flow123d/issues/421/comments"},"review_comments":{"href":"https://api.github.com/repos/flow123d/flow123d/pulls/421/comments"},"review_comment":{"href":"https://api.github.com/repos/flow123d/flow123d/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flow123d/flow123d/pulls/421/commits"},"statuses":{"href":"https://api.github.com/repos/flow123d/flow123d/statuses/4dd7eba254fe3c2fd45e604cf2b39a0a186d0608"}}}}