{"action":"created","issue":{"url":"https://api.github.com/repos/OPM/opm-autodiff/issues/496","labels_url":"https://api.github.com/repos/OPM/opm-autodiff/issues/496/labels{/name}","comments_url":"https://api.github.com/repos/OPM/opm-autodiff/issues/496/comments","events_url":"https://api.github.com/repos/OPM/opm-autodiff/issues/496/events","html_url":"https://github.com/OPM/opm-autodiff/pull/496","id":110258269,"number":496,"title":"NewtonBlackølInterationInterleaved: allow np to be variable.","user":{"login":"dr-robertk","id":8373576,"avatar_url":"https://avatars.githubusercontent.com/u/8373576?v=3","gravatar_id":"","url":"https://api.github.com/users/dr-robertk","html_url":"https://github.com/dr-robertk","followers_url":"https://api.github.com/users/dr-robertk/followers","following_url":"https://api.github.com/users/dr-robertk/following{/other_user}","gists_url":"https://api.github.com/users/dr-robertk/gists{/gist_id}","starred_url":"https://api.github.com/users/dr-robertk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dr-robertk/subscriptions","organizations_url":"https://api.github.com/users/dr-robertk/orgs","repos_url":"https://api.github.com/users/dr-robertk/repos","events_url":"https://api.github.com/users/dr-robertk/events{/privacy}","received_events_url":"https://api.github.com/users/dr-robertk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-07T15:56:33Z","updated_at":"2015-10-09T10:05:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OPM/opm-autodiff/pulls/496","html_url":"https://github.com/OPM/opm-autodiff/pull/496","diff_url":"https://github.com/OPM/opm-autodiff/pull/496.diff","patch_url":"https://github.com/OPM/opm-autodiff/pull/496.patch"},"body":"This PR implemented the Interleaved Newton step for variable np by extracting all components that depend on a fixed `np` into a separate template class. The `computeNewtonIncrement` then uses a switch case statement to iterate through the currently used variable `np`.  Currently available are `np = {2,...,6}`. Extension are easily possible. \r\n\r\nThis has been tested on SPE9, Norne, and the solvent test cases."},"comment":{"url":"https://api.github.com/repos/OPM/opm-autodiff/issues/comments/146821687","html_url":"https://github.com/OPM/opm-autodiff/pull/496#issuecomment-146821687","issue_url":"https://api.github.com/repos/OPM/opm-autodiff/issues/496","id":146821687,"user":{"login":"dr-robertk","id":8373576,"avatar_url":"https://avatars.githubusercontent.com/u/8373576?v=3","gravatar_id":"","url":"https://api.github.com/users/dr-robertk","html_url":"https://github.com/dr-robertk","followers_url":"https://api.github.com/users/dr-robertk/followers","following_url":"https://api.github.com/users/dr-robertk/following{/other_user}","gists_url":"https://api.github.com/users/dr-robertk/gists{/gist_id}","starred_url":"https://api.github.com/users/dr-robertk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dr-robertk/subscriptions","organizations_url":"https://api.github.com/users/dr-robertk/orgs","repos_url":"https://api.github.com/users/dr-robertk/repos","events_url":"https://api.github.com/users/dr-robertk/events{/privacy}","received_events_url":"https://api.github.com/users/dr-robertk/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T10:05:38Z","updated_at":"2015-10-09T10:05:38Z","body":"I moved the parameters to a separate struct. Also, the terminating values for the template recursion is now 0. "}}