{"action":"created","issue":{"url":"https://api.github.com/repos/grinsfem/grins/issues/445","repository_url":"https://api.github.com/repos/grinsfem/grins","labels_url":"https://api.github.com/repos/grinsfem/grins/issues/445/labels{/name}","comments_url":"https://api.github.com/repos/grinsfem/grins/issues/445/comments","events_url":"https://api.github.com/repos/grinsfem/grins/issues/445/events","html_url":"https://github.com/grinsfem/grins/pull/445","id":174323707,"number":445,"title":"Integrated Function QoI","user":{"login":"tradowsk","id":4536098,"avatar_url":"https://avatars.githubusercontent.com/u/4536098?v=3","gravatar_id":"","url":"https://api.github.com/users/tradowsk","html_url":"https://github.com/tradowsk","followers_url":"https://api.github.com/users/tradowsk/followers","following_url":"https://api.github.com/users/tradowsk/following{/other_user}","gists_url":"https://api.github.com/users/tradowsk/gists{/gist_id}","starred_url":"https://api.github.com/users/tradowsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tradowsk/subscriptions","organizations_url":"https://api.github.com/users/tradowsk/orgs","repos_url":"https://api.github.com/users/tradowsk/repos","events_url":"https://api.github.com/users/tradowsk/events{/privacy}","received_events_url":"https://api.github.com/users/tradowsk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-08-31T16:50:10Z","updated_at":"2016-09-14T15:58:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/grinsfem/grins/pulls/445","html_url":"https://github.com/grinsfem/grins/pull/445","diff_url":"https://github.com/grinsfem/grins/pull/445.diff","patch_url":"https://github.com/grinsfem/grins/pull/445.patch"},"body":"The `IntegratedFunction` class builds upon `RayfireMesh` to evaluate a given function along a 1D rayfire. Integration is done with Gauss Quadrature (`QGauss`).\r\n\r\nThe template parameter can be `FunctionBase` or `FEMFunctionBase`, depending on whether or not the `context` is needed to evaluate the function. An object of the templated type is then passed in to the constructor, and will be used to evaluate the function at the given quadrature points along the rayfire.\r\n\r\n`IntegratedFunction` was then added to the `QoIFactory`, which allows us to run everything directly from an input file. User adds a `[QoI]` section with `integrated_function`, and must specify:\r\n\r\n1. Rayfire origin coordinates (currently restricted to 2D)\r\n2. Rayfire polar angle, theta\r\n3. Function to be evaluated\r\n4. Quadrature order (default order is 2 if omitted)\r\n\r\n`element_qoi_derivative()` is currently not implemented, as there are no readily-available hooks in the templated classes for derivative evaluation. This will be addressed in an upcoming PR.\r\n\r\nAlso, mesh refinement through the input file is not yet supported, but will be in a future PR.\r\nHowever, the convergence test in `integrated_function_test` does refinement manually, so the functionality is there and works, just not yet integrated with the refinement using an input file.\r\n\r\nThe first 2 commits address Valgrind complaints.\r\n\r\n`make check` passes on GCC 6.1 in dbg, devel, and opt"},"comment":{"url":"https://api.github.com/repos/grinsfem/grins/issues/comments/247061969","html_url":"https://github.com/grinsfem/grins/pull/445#issuecomment-247061969","issue_url":"https://api.github.com/repos/grinsfem/grins/issues/445","id":247061969,"user":{"login":"tradowsk","id":4536098,"avatar_url":"https://avatars.githubusercontent.com/u/4536098?v=3","gravatar_id":"","url":"https://api.github.com/users/tradowsk","html_url":"https://github.com/tradowsk","followers_url":"https://api.github.com/users/tradowsk/followers","following_url":"https://api.github.com/users/tradowsk/following{/other_user}","gists_url":"https://api.github.com/users/tradowsk/gists{/gist_id}","starred_url":"https://api.github.com/users/tradowsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tradowsk/subscriptions","organizations_url":"https://api.github.com/users/tradowsk/orgs","repos_url":"https://api.github.com/users/tradowsk/repos","events_url":"https://api.github.com/users/tradowsk/events{/privacy}","received_events_url":"https://api.github.com/users/tradowsk/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T15:58:09Z","updated_at":"2016-09-14T15:58:09Z","body":"#454 fixes the issue that caused the aforementioned failure"}}
{"actor":{"display_login":"tradowsk"}}