88 real(kind=
rp) :: sx, sy, sz
89 real(kind=
rp),
parameter :: tol = 1d-3
93 associate(c => this%coef, nx => this%coef%nx, ny => this%coef%ny, &
95 bfp => this%marked_facet%array()
96 do i = 1, this%marked_facet%size()
100 call this%get_normal_axis(sx, sy, sz, facet, el)
102 if (sx .lt. tol)
then
103 call this%bc_y%mark_facet(facet, el)
104 call this%bc_z%mark_facet(facet, el)
107 if (sy .lt. tol)
then
108 call this%bc_x%mark_facet(facet, el)
109 call this%bc_z%mark_facet(facet, el)
112 if (sz .lt. tol)
then
113 call this%bc_y%mark_facet(facet, el)
114 call this%bc_x%mark_facet(facet, el)
118 call this%bc_x%finalize()
119 call this%bc_y%finalize()
120 call this%bc_z%finalize()
122 call this%finalize_base()
Coefficients defined on a given (mesh, ) tuple. Arrays use indices (i,j,k,e): element e,...