Defines inflow dirichlet conditions.
|
subroutine | field_dirichlet_vector_init (this, coef, json) |
| Constructor.
|
|
subroutine | field_dirichlet_vector_init_from_components (this, coef) |
| Constructor from components.
|
|
subroutine | field_dirichlet_vector_free (this) |
| Destructor. Currently unused as is, all field_dirichlet attributes are freed in fluid_scheme_incompressible::free .
|
|
subroutine | field_dirichlet_vector_apply_scalar (this, x, n, t, tstep, strong) |
| No-op apply scalar.
|
|
subroutine | field_dirichlet_vector_apply_scalar_dev (this, x_d, t, tstep, strong) |
| No-op apply scalar (device).
|
|
subroutine | field_dirichlet_vector_apply_vector (this, x, y, z, n, t, tstep, strong) |
| Apply the boundary condition to a vector field.
|
|
subroutine | field_dirichlet_vector_apply_vector_dev (this, x_d, y_d, z_d, t, tstep, strong) |
| Apply the boundary condition to a vector field on the device.
|
|
subroutine | field_dirichlet_vector_finalize (this) |
| Finalize by building the mask arrays and propagating to underlying bcs.
|
|
◆ field_dirichlet_vector_apply_scalar()
subroutine field_dirichlet_vector::field_dirichlet_vector_apply_scalar |
( |
class(field_dirichlet_vector_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, |
|
|
logical, intent(in), optional |
strong |
|
) |
| |
|
private |
- Parameters
-
x | Field onto which to copy the values (e.g. u,v,w,p or s). |
n | Size of the array x . |
t | Time. |
tstep | Time step. |
Definition at line 148 of file field_dirichlet_vector.f90.
◆ field_dirichlet_vector_apply_scalar_dev()
subroutine field_dirichlet_vector::field_dirichlet_vector_apply_scalar_dev |
( |
class(field_dirichlet_vector_t), intent(inout), target |
this, |
|
|
type(c_ptr) |
x_d, |
|
|
real(kind=rp), intent(in), optional |
t, |
|
|
integer, intent(in), optional |
tstep, |
|
|
logical, intent(in), optional |
strong |
|
) |
| |
|
private |
- Parameters
-
x_d | Device pointer to the field onto which to copy the values. |
t | Time. |
tstep | Time step. |
Definition at line 165 of file field_dirichlet_vector.f90.
◆ field_dirichlet_vector_apply_vector()
subroutine field_dirichlet_vector::field_dirichlet_vector_apply_vector |
( |
class(field_dirichlet_vector_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, |
|
|
logical, intent(in), optional |
strong |
|
) |
| |
|
private |
- Parameters
-
x | x-component of the field onto which to apply the values. |
y | y-component of the field onto which to apply the values. |
z | z-component of the field onto which to apply the values. |
n | Size of the x , y and z arrays. |
t | Time. |
tstep | Time step. |
Definition at line 185 of file field_dirichlet_vector.f90.
◆ field_dirichlet_vector_apply_vector_dev()
subroutine field_dirichlet_vector::field_dirichlet_vector_apply_vector_dev |
( |
class(field_dirichlet_vector_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, |
|
|
logical, intent(in), optional |
strong |
|
) |
| |
|
private |
- Parameters
-
x | x-component of the field onto which to apply the values. |
y | y-component of the field onto which to apply the values. |
z | z-component of the field onto which to apply the values. |
t | Time. |
tstep | Time step. |
Definition at line 218 of file field_dirichlet_vector.f90.
◆ field_dirichlet_vector_finalize()
◆ field_dirichlet_vector_free()
◆ field_dirichlet_vector_init()
- Parameters
-
[in] | coef | The SEM coefficients. |
[in,out] | json | The JSON object configuring the boundary condition. |
Definition at line 97 of file field_dirichlet_vector.f90.
◆ field_dirichlet_vector_init_from_components()