Discussion: naming of boundary condition functions / conditions
Problem currently need to implement dirichlet
and neumann
functions and we have the corresponding boundary conditions dirichlet
and neumann
. However we use neumann
much more general than in there original meaning I believe. For example Robin/Cauchy boundary conditions can be realized in the neumann
function.
Essentially neumann
corresponds to the integrand of all boundary integrals in the equations. It's always a weakly enforced boundary condition. dirichlet
corresponds to setting a fixed value and is strongly or weakly enforced depending on the discretization scheme.
Alternative naming schemes could be
-
boundaryFluxes
(forneumann
) and BC typeflux
-
boundaryValues
(fordirichlet
) and BC typevalue
/fixed
or only changing neumann
-
boundaryFluxes
(forneumann
) and BC typeflux
-
dirichlet
and BC typedirichlet
Other ideas and opinions?