Defines a Neumann boundary condition.
|
type | neumann_t |
| A Neumann boundary condition for scalar fields. Sets the flux of the field to the chosen value. More...
|
|
|
subroutine | neumann_apply_scalar (this, x, n, t, tstep) |
| Boundary condition apply for a generic Neumann condition to a vector x.
|
|
subroutine | neumann_apply_vector (this, x, y, z, n, t, tstep) |
| Boundary condition apply for a generic Neumann condition to vectors x, y and z.
|
|
subroutine | neumann_apply_scalar_dev (this, x_d, t, tstep) |
| Boundary condition apply for a generic Neumann condition to a vector x (device version)
|
|
subroutine | neumann_apply_vector_dev (this, x_d, y_d, z_d, t, tstep) |
| Boundary condition apply for a generic Neumann condition to vectors x, y and z (device version)
|
|
subroutine | neumann_free (this) |
| Destructor.
|
|
pure real(kind=rp) function, dimension(this%msk(0)) | neumann_flux (this) |
| Get the flux.
|
|
subroutine | neumann_set_flux_scalar (this, flux) |
| Set the flux using a scalar.
|
|
subroutine | neumann_set_flux_array (this, flux) |
| Set the flux using an array of values.
|
|
subroutine | neumann_finalize_neumann (this, flux) |
| Finalize by setting the flux.
|
|
◆ neumann_apply_scalar()
subroutine neumann::neumann_apply_scalar |
( |
class(neumann_t), intent(inout) |
this, |
|
|
real(kind=rp), dimension(n), intent(inout) |
x, |
|
|
integer, intent(in) |
n, |
|
|
real(kind=rp), intent(in), optional |
t, |
|
|
integer, intent(in), optional |
tstep |
|
) |
| |
◆ neumann_apply_scalar_dev()
◆ neumann_apply_vector()
subroutine neumann::neumann_apply_vector |
( |
class(neumann_t), intent(inout) |
this, |
|
|
real(kind=rp), dimension(n), intent(inout) |
x, |
|
|
real(kind=rp), dimension(n), intent(inout) |
y, |
|
|
real(kind=rp), dimension(n), intent(inout) |
z, |
|
|
integer, intent(in) |
n, |
|
|
real(kind=rp), intent(in), optional |
t, |
|
|
integer, intent(in), optional |
tstep |
|
) |
| |
|
private |
◆ neumann_apply_vector_dev()
subroutine neumann::neumann_apply_vector_dev |
( |
class(neumann_t), intent(inout), target |
this, |
|
|
type(c_ptr) |
x_d, |
|
|
type(c_ptr) |
y_d, |
|
|
type(c_ptr) |
z_d, |
|
|
real(kind=rp), intent(in), optional |
t, |
|
|
integer, intent(in), optional |
tstep |
|
) |
| |
|
private |
◆ neumann_finalize_neumann()
◆ neumann_flux()
◆ neumann_free()
◆ neumann_set_flux_array()
◆ neumann_set_flux_scalar()