{"action":"created","issue":{"url":"https://api.github.com/repos/mumax/3/issues/69","repository_url":"https://api.github.com/repos/mumax/3","labels_url":"https://api.github.com/repos/mumax/3/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/mumax/3/issues/69/comments","events_url":"https://api.github.com/repos/mumax/3/issues/69/events","html_url":"https://github.com/mumax/3/issues/69","id":151231694,"number":69,"title":"Radial Anisotropy","user":{"login":"LLizardi","id":18687816,"avatar_url":"https://avatars.githubusercontent.com/u/18687816?v=3","gravatar_id":"","url":"https://api.github.com/users/LLizardi","html_url":"https://github.com/LLizardi","followers_url":"https://api.github.com/users/LLizardi/followers","following_url":"https://api.github.com/users/LLizardi/following{/other_user}","gists_url":"https://api.github.com/users/LLizardi/gists{/gist_id}","starred_url":"https://api.github.com/users/LLizardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LLizardi/subscriptions","organizations_url":"https://api.github.com/users/LLizardi/orgs","repos_url":"https://api.github.com/users/LLizardi/repos","events_url":"https://api.github.com/users/LLizardi/events{/privacy}","received_events_url":"https://api.github.com/users/LLizardi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-26T20:30:34Z","updated_at":"2016-05-18T18:11:56Z","closed_at":null,"body":"I wanna know, if there're a function to have a radial anisotropy, for example for  a cylinder geometry\r\n\r\nThanks :)"},"comment":{"url":"https://api.github.com/repos/mumax/3/issues/comments/220111906","html_url":"https://github.com/mumax/3/issues/69#issuecomment-220111906","issue_url":"https://api.github.com/repos/mumax/3/issues/69","id":220111906,"user":{"login":"kahlos","id":763716,"avatar_url":"https://avatars.githubusercontent.com/u/763716?v=3","gravatar_id":"","url":"https://api.github.com/users/kahlos","html_url":"https://github.com/kahlos","followers_url":"https://api.github.com/users/kahlos/followers","following_url":"https://api.github.com/users/kahlos/following{/other_user}","gists_url":"https://api.github.com/users/kahlos/gists{/gist_id}","starred_url":"https://api.github.com/users/kahlos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kahlos/subscriptions","organizations_url":"https://api.github.com/users/kahlos/orgs","repos_url":"https://api.github.com/users/kahlos/repos","events_url":"https://api.github.com/users/kahlos/events{/privacy}","received_events_url":"https://api.github.com/users/kahlos/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T18:11:56Z","updated_at":"2016-05-18T18:11:56Z","body":"You could probably do something like this using regions. I've run a simulation where I define different parameters for 255 circular regions. The key part is as follows:\r\n\r\n```\r\nfor i:=1; i<256; i++{\r\n  DefRegion(i, circle(i*samplesize/255).sub(circle((i-1)*samplesize/255)))\r\n  Temp.SetRegion(i, (Tmin + (256-i)*(Tmax - Tmin)/255))\r\n}\r\n```\r\n\r\nThis splits the _samplesize_ into 255 equal sized regions, then starting from the middle, defines a set of rings _circle().sub(circle())_ and assigns a different value of parameter _Temp_ to each ring.\r\n\r\nOtherwise, this is something you'd likely have to add to mumax yourself."}}