2 #include "sll_working_precision.h"
21 sll_int32 :: n_dofs(3)
22 sll_real64 :: delta_x(3)
23 sll_int32 :: s_deg_0(3)
24 sll_int32 :: n_total0, n_total1
41 sll_int32 :: n_dofs(3)
42 sll_real64 :: delta_x(3)
43 sll_int32 :: s_deg_0(3)
47 self%s_deg_0 = s_deg_0
48 self%n_total0 = product(self%n_dofs)
49 self%n_total1 = (self%n_dofs(1)-1)*self%n_dofs(2)*self%n_dofs(3)
50 self%delta_x = delta_x
52 self%n_rows = self%n_total1+2*self%n_total0
53 self%n_cols = self%n_total0
55 self%n_global_rows = self%n_rows
56 self%n_global_cols = self%n_cols
69 sll_real64,
intent( in ) :: x(:)
70 sll_real64,
intent( out ) :: y(:)
72 sll_real64 :: scratch(self%n_total1+2*self%n_total0)
75 call self%mass%dot(scratch, y)
module for abstract linear operator
module for a block linear operator
subroutine dot_mg_cl(self, x, y)
subroutine create_linear_operator_mg_cl(self, mass, n_dofs, delta_x, s_deg_0)
subroutine print_info_mg_cl(self)
subroutine free_mg_cl(self)
Utilites for Maxwell solver's with spline finite elements using sparse matrices.
subroutine, public sll_s_multiply_g_clamped(n_dofs, delta_x, s_deg_0, field_in, field_out)
Multiply by dicrete gradient matrix.
class for abstract linear operator
class for a linear operator_block