Reading boundary conditions for the acoustic equations.
Need to set 4 bc_states here, typically the primitive variables. Vectorial quantities are described either by the normal component and a tangential definition that has to be the same in all directions, or in the universal coordinate system. The normal is defined as pointing inwards. Internally the tangential definition is duplicated to get the same size for vectorial quantities irregardless of the coordinate system it is defined in.
This routine has to conform to the interface definition atl_equation_module#eqn_load_bc.
VK allocate(bc_normal_vec_gradient(2)) VK allocate(bc_trafo_gradient(2))
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(atl_Equations_type), | intent(inout) | :: | equation | |||
type(tem_bc_state_type), | intent(out), | allocatable | :: | bc_state(:) | ||
type(tem_bc_state_type), | intent(out), | allocatable | :: | bc_state_gradient(:) | ||
type(grw_stringkeyvaluepairarray_type), | intent(out) | :: | bc_varDict |
Dictionary of boundary variables in bc_state |
||
type(grw_stringkeyvaluepairarray_type), | intent(out) | :: | bc_varDict_gradient |
Dictionary of boundary variables in bc_state_gradient |
||
logical, | intent(out) | :: | bc_normal_vec | |||
logical, | intent(out) | :: | bc_normal_vec_gradient | |||
type(atl_eqn_var_trafo_type), | intent(out) | :: | bc_trafo | |||
type(atl_eqn_var_trafo_type), | intent(out) | :: | bc_trafo_gradient | |||
character(len=*), | intent(in) | :: | bc_label | |||
character(len=*), | intent(in) | :: | bc_kind | |||
integer, | intent(in) | :: | thandle | |||
type(flu_State) | :: | conf |