Skip to content

Membrane profiles with diffuse Green's functions #124

Open

Description

@robertodr

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions