{"action":"created","issue":{"url":"https://api.github.com/repos/libMesh/libmesh/issues/1353","repository_url":"https://api.github.com/repos/libMesh/libmesh","labels_url":"https://api.github.com/repos/libMesh/libmesh/issues/1353/labels{/name}","comments_url":"https://api.github.com/repos/libMesh/libmesh/issues/1353/comments","events_url":"https://api.github.com/repos/libMesh/libmesh/issues/1353/events","html_url":"https://github.com/libMesh/libmesh/pull/1353","id":230866246,"number":1353,"title":"Adjoints ex 6","user":{"login":"vikramvgarg","id":5034513,"avatar_url":"https://avatars3.githubusercontent.com/u/5034513?v=3","gravatar_id":"","url":"https://api.github.com/users/vikramvgarg","html_url":"https://github.com/vikramvgarg","followers_url":"https://api.github.com/users/vikramvgarg/followers","following_url":"https://api.github.com/users/vikramvgarg/following{/other_user}","gists_url":"https://api.github.com/users/vikramvgarg/gists{/gist_id}","starred_url":"https://api.github.com/users/vikramvgarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikramvgarg/subscriptions","organizations_url":"https://api.github.com/users/vikramvgarg/orgs","repos_url":"https://api.github.com/users/vikramvgarg/repos","events_url":"https://api.github.com/users/vikramvgarg/events{/privacy}","received_events_url":"https://api.github.com/users/vikramvgarg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-05-23T22:20:18Z","updated_at":"2017-05-24T22:07:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/libMesh/libmesh/pulls/1353","html_url":"https://github.com/libMesh/libmesh/pull/1353","diff_url":"https://github.com/libMesh/libmesh/pull/1353.diff","patch_url":"https://github.com/libMesh/libmesh/pull/1353.patch"},"body":"Adjoint example 6 showing the use of Adjoint Refinement Estimator with Flux QoIs (Adjoint Dirichlet Boundary Conditions). "},"comment":{"url":"https://api.github.com/repos/libMesh/libmesh/issues/comments/303865443","html_url":"https://github.com/libMesh/libmesh/pull/1353#issuecomment-303865443","issue_url":"https://api.github.com/repos/libMesh/libmesh/issues/1353","id":303865443,"user":{"login":"jwpeterson","id":1775907,"avatar_url":"https://avatars3.githubusercontent.com/u/1775907?v=3","gravatar_id":"","url":"https://api.github.com/users/jwpeterson","html_url":"https://github.com/jwpeterson","followers_url":"https://api.github.com/users/jwpeterson/followers","following_url":"https://api.github.com/users/jwpeterson/following{/other_user}","gists_url":"https://api.github.com/users/jwpeterson/gists{/gist_id}","starred_url":"https://api.github.com/users/jwpeterson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwpeterson/subscriptions","organizations_url":"https://api.github.com/users/jwpeterson/orgs","repos_url":"https://api.github.com/users/jwpeterson/repos","events_url":"https://api.github.com/users/jwpeterson/events{/privacy}","received_events_url":"https://api.github.com/users/jwpeterson/received_events","type":"User","site_admin":false},"created_at":"2017-05-24T22:07:29Z","updated_at":"2017-05-24T22:07:29Z","body":"It failed to compile when libmesh was configured with `--enable-complex`. The right fix might be to use `RealVectorValue` instead of `NumberVectorValue`.\r\n\r\n```\r\n../../../../examples/adjoints/adjoints_ex6/element_postprocess.C: In member function 'virtual void PoissonSystem::element_postprocess(libMesh::DiffContext&)':\r\n../../../../examples/adjoints/adjoints_ex6/element_postprocess.C:46:52: error: call of overloaded 'VectorValue(libMesh::Real, libMesh::Real)' is ambiguous\r\n       NumberVectorValue U ((1-y)*(1-(2*x)),-x*(1-x));\r\n                                                    ^\r\nIn file included from ../../../include/libmesh/fe_abstract.h:26:0,\r\n                 from ../../../include/libmesh/fe_base.h:28,\r\n                 from ../../../../examples/adjoints/adjoints_ex6/element_postprocess.C:4:\r\n../../../include/libmesh/vector_value.h:205:1: note: candidate: libMesh::VectorValue<T>::VectorValue(const libMesh::TypeVector<double>&, const libMesh::TypeVector<double>&) [with T = std::complex<double>]\r\n VectorValue<T>::VectorValue (const TypeVector<Real> & p_re,\r\n ^~~~~~~~~~~~~~\r\n../../../include/libmesh/vector_value.h:147:1: note: candidate: libMesh::VectorValue<T>::VectorValue(T, T, T) [with T = std::complex<double>]\r\n VectorValue<T>::VectorValue (const T x,\r\n ^~~~~~~~~~~~~~\r\n```\r\n"}}
{"actor":{"display_login":"jwpeterson"}}