22 integer(kind=kint),
intent(inout) :: ierr
23 integer(kind=kint) :: ista, is_allocated
24 character(len=HECMW_NAME_LEN) :: sname, vname
26 sname =
"hecmw_couple_value"
40 if(couple_value%n > 0)
then
43 if(is_allocated == 1)
then
45 allocate(couple_value%item(couple_value%n), stat=ista)
50 allocate(couple_value%item(couple_value%n), stat=ista)
55 allocate(couple_value%item(couple_value%n*2), stat=ista)
65 if(couple_value%n > 0 .AND. couple_value%n_dof > 0)
then
68 if(is_allocated == 1)
then
69 allocate(couple_value%value(couple_value%n*couple_value%n_dof), stat=ista)
void hecmw_cpl_copy_c2f_isalloc_if(char *struct_name, char *var_name, int *is_allocated, int *err, int slen, int vlen)
void hecmw_cpl_copy_c2f_set_if(char *struct_name, char *var_name, void *dst, int *err, int slen, int vlen)
subroutine, public hecmw_couple_copy_c2f(couple_value, ierr)
integer(kind=kint), parameter, public hecmw_couple_surface_group
integer(kind=kint), parameter, public hecmw_couple_node_group
integer(kind=kint), parameter, public hecmw_couple_element_group