{"action":"opened","issue":{"url":"https://api.github.com/repos/plumed/plumed2/issues/322","repository_url":"https://api.github.com/repos/plumed/plumed2","labels_url":"https://api.github.com/repos/plumed/plumed2/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/plumed/plumed2/issues/322/comments","events_url":"https://api.github.com/repos/plumed/plumed2/issues/322/events","html_url":"https://github.com/plumed/plumed2/issues/322","id":278738954,"number":322,"title":"A hard-wall MFILTER?","user":{"login":"MoleOrbitalHybridAnalyst","id":26195493,"avatar_url":"https://avatars2.githubusercontent.com/u/26195493?v=4","gravatar_id":"","url":"https://api.github.com/users/MoleOrbitalHybridAnalyst","html_url":"https://github.com/MoleOrbitalHybridAnalyst","followers_url":"https://api.github.com/users/MoleOrbitalHybridAnalyst/followers","following_url":"https://api.github.com/users/MoleOrbitalHybridAnalyst/following{/other_user}","gists_url":"https://api.github.com/users/MoleOrbitalHybridAnalyst/gists{/gist_id}","starred_url":"https://api.github.com/users/MoleOrbitalHybridAnalyst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoleOrbitalHybridAnalyst/subscriptions","organizations_url":"https://api.github.com/users/MoleOrbitalHybridAnalyst/orgs","repos_url":"https://api.github.com/users/MoleOrbitalHybridAnalyst/repos","events_url":"https://api.github.com/users/MoleOrbitalHybridAnalyst/events{/privacy}","received_events_url":"https://api.github.com/users/MoleOrbitalHybridAnalyst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-03T02:51:54Z","updated_at":"2017-12-03T02:51:54Z","closed_at":null,"author_association":"NONE","body":"I am wondering how to write a hard-wall version of MFILTER_MORE (maybe called MFILTER_HARD_MORE) which gives you 1 if the input multicolvar is greater than some threshold and 0 if less than the threshold.\r\nI would like to use this to select atoms whose density calculated by AROUND is over 0.5 and use the atoms in the following adjacency matrix computation. Currently, what I can do is use MFILTER_MORE to assign each atom a continuous weight but the weight is multiplied to the adjacency matrix entry. The problem is that I do not want the adjacency matrix to include those weights. I can use very steep switching function in the mfilter to mimic the hard-wall behavior but I want something more elegant. "}}
{"actor":{"display_login":"MoleOrbitalHybridAnalyst"}}