Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Membrane profiles with diffuse Green's functions #124

Open
robertodr opened this issue Feb 27, 2018 · 0 comments
Open

Membrane profiles with diffuse Green's functions #124

robertodr opened this issue Feb 27, 2018 · 0 comments
Assignees

Comments

@robertodr
Copy link
Member

The upcoming PR #109 does the numerical integration in logarithmic scale. This requires a step size dependent on the width of the profile and the distance of it from the origin (center of the sphere). This requires some thinking to do it correctly, since a membrane has two width parameters.

The following lines of code should be reintroduced in SphericalDiffuse.hpp to re-enable the use of membrane profiles from the constructor:

  template <typename U = ProfilePolicy,
            typename = typename pcm::enable_if<
!pcm::is_same<U, dielectric_profile::MembraneTanh>::value>::type>

and the complementary SFINAE check:

  template <typename U = ProfilePolicy,
            typename = typename pcm::enable_if<
pcm::is_same<U, dielectric_profile::MembraneTanh>::value>::type>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants