2 #include "sll_working_precision.h"
26 sll_int32 :: n_total0, n_total1
27 sll_int32 :: n_dofs(3)
28 sll_int32 :: s_deg_0(3)
29 sll_real64 :: sign = 1.0_f64
30 sll_real64 :: delta_x(3)
48 sll_int32 :: n_dofs(3)
49 sll_real64 :: delta_x(3)
50 sll_int32 :: s_deg_0(3)
57 self%delta_x = delta_x
58 self%s_deg_0 = s_deg_0
59 self%n_total0 = product(self%n_dofs)
60 self%n_total1 = (self%n_dofs(1)-1)*self%n_dofs(2)*self%n_dofs(3)
64 self%n_rows = self%n_total1+2*self%n_total0
65 self%n_cols = self%n_total1+2*self%n_total0
67 self%n_global_rows = self%n_rows
68 self%n_global_cols = self%n_cols
84 sll_real64,
intent( in ) :: x(:)
85 sll_real64,
intent( out ) :: y(:)
88 sll_real64 :: scratch1(self%n_total1+2*self%n_total0), scratch2(self%n_total0+2*self%n_total1), scratch3(self%n_total0+2*self%n_total1)
94 call self%mass2%dot( scratch2, scratch3 )
107 call self%mass1%dot( x, y )
110 y = y + self%sign * scratch1
module for abstract linear operator
module for a block linear operator
subroutine dot_schur_eb_cl_3d(self, x, y)
subroutine print_info_schur_eb_cl_3d(self)
subroutine create_linear_operator_schur_eb_cl_3d(self, mass1, mass2, n_dofs, delta_x, s_deg_0)
subroutine free_schur_eb_cl_3d(self)
Utilites for Maxwell solver's with spline finite elements using sparse matrices.
subroutine, public sll_s_multiply_ct_clamped(n_dofs, delta_x, s_deg_0, field_in, field_out)
Multiply by transpose of discrete curl matrix.
subroutine, public sll_s_multiply_c_clamped(n_dofs, delta_x, s_deg_0, field_in, field_out)
Multiply by discrete curl matrix.
class for abstract linear operator
class for a linear operator_block