Peano
Loading...
Searching...
No Matches
test7 Namespace Reference

Variables

 parser = argparse.ArgumentParser(description='Multigrid - Poisson solver')
 
 dest
 
 type
 
 int
 
 default
 
 help
 
 action
 
 False
 
 choices
 
 required
 
 True
 
 args = parser.parse_args()
 
 project
 
 matrices
 
 assembly_matrix
 
 assembly_matrix_scaling
 
 mass_matrix
 
 mass_matrix_scaling
 
 face_from_cell_projection_scaling = matrices.get_face_from_cell_matrix()
 
 cell_from_face_projection_scaling = matrices.get_cell_from_face_matrix()
 
 approximate_system_matrix_scaling = matrices.get_A_tilde()
 
 solver
 
 correction_equation_matrices
 
 system_matrix
 
 system_matrix_scaling
 
 maxx_matrix_scaling
 
 correction_equation_solver
 
 intergrid_operators
 
list prolongation_matrix = [intergrid_operators.prolongation()]
 
list prolongation_matrix_scaling = [0]
 
list restriction_matrix = [intergrid_operators.restriction()]
 
list restriction_matrix_scaling = [0]
 
list injection_matrix = [intergrid_operators.injection()]
 
list injection_matrix_scaling = [0]
 
 preprocessing_action_set
 
 use_fas
 
 smoothing_steps_DG
 
 smoothing_steps_CG
 
 auxiliary
 
 build_mode = peano4.api.output.CompileMode.RELEASE
 
float cube_size = 1.0
 
 dimensions
 
 offset
 
 domain_size
 
 plot_after_each_mesh_sweep
 
 peano4_project = project.generate_Peano4_project(args.verbose)
 

Variable Documentation

◆ action

test7.action

Definition at line 14 of file test7.py.

◆ approximate_system_matrix_scaling

test7.approximate_system_matrix_scaling = matrices.get_A_tilde()

Definition at line 48 of file test7.py.

◆ args

test7.args = parser.parse_args()

Definition at line 23 of file test7.py.

◆ assembly_matrix

test7.assembly_matrix

Definition at line 41 of file test7.py.

◆ assembly_matrix_scaling

test7.assembly_matrix_scaling

Definition at line 41 of file test7.py.

◆ auxiliary

test7.auxiliary

Definition at line 137 of file test7.py.

◆ build_mode

test7.build_mode = peano4.api.output.CompileMode.RELEASE

Definition at line 145 of file test7.py.

◆ cell_from_face_projection_scaling

test7.cell_from_face_projection_scaling = matrices.get_cell_from_face_matrix()

Definition at line 46 of file test7.py.

◆ choices

test7.choices

Definition at line 22 of file test7.py.

◆ correction_equation_matrices

test7.correction_equation_matrices
Initial value:
2 dimensions = args.dimensions,
3 poly_degree = 1,
4 unknowns_per_node = 1
5)
Using normalised identity matrix instead of the mass matrix.

Definition at line 81 of file test7.py.

◆ correction_equation_solver

test7.correction_equation_solver
Initial value:
1= mghype.matrixfree.solvers.api.CollocatedDLinearDiscretisationWithPointJacobi(
2 name = "CollocatedPoisson",
3 unknowns_per_vertex = 1,
4 dimensions = args.dimensions,
5 min_h = args.meshsize,
6 max_h = args.meshsize,
7 local_assembly_matrix = system_matrix,
8 local_assembly_matrix_scaling=system_matrix_scaling,
9 mass_matrix = mass_matrix,
10 mass_matrix_scaling = maxx_matrix_scaling,
11 solver_tolerance = 1e-12,
12 smoother_relaxation = 0.5,
13 custom_init_actionset=InitCollocatedTest7,
14 custom_plot_actionset=[("rand","getRand")]
15)

Definition at line 91 of file test7.py.

◆ cube_size

float test7.cube_size = 1.0

Definition at line 154 of file test7.py.

◆ default

test7.default

Definition at line 13 of file test7.py.

◆ dest

test7.dest

Definition at line 13 of file test7.py.

◆ dimensions

test7.dimensions

Definition at line 156 of file test7.py.

◆ domain_size

test7.domain_size

Definition at line 158 of file test7.py.

◆ face_from_cell_projection_scaling

test7.face_from_cell_projection_scaling = matrices.get_face_from_cell_matrix()

Definition at line 44 of file test7.py.

◆ False

test7.False

Definition at line 14 of file test7.py.

◆ help

test7.help

Definition at line 13 of file test7.py.

◆ injection_matrix

list test7.injection_matrix = [intergrid_operators.injection()]

Definition at line 119 of file test7.py.

◆ injection_matrix_scaling

list test7.injection_matrix_scaling = [0]

Definition at line 120 of file test7.py.

◆ int

test7.int

Definition at line 13 of file test7.py.

◆ intergrid_operators

test7.intergrid_operators
Initial value:

Definition at line 110 of file test7.py.

◆ mass_matrix

test7.mass_matrix

Definition at line 42 of file test7.py.

◆ mass_matrix_scaling

test7.mass_matrix_scaling

Definition at line 42 of file test7.py.

◆ matrices

test7.matrices
Initial value:
1= mghype.api.matrixgenerators.GLMatrixFree(
2 args.dimensions,
3 args.poly_degree,
4 1, # Unknowns per cell dof. Scalar PDE here
5 2, # We use the penalty formulation (see docu in tutorials)
6 2
7)

Definition at line 33 of file test7.py.

◆ maxx_matrix_scaling

test7.maxx_matrix_scaling

Definition at line 87 of file test7.py.

◆ offset

test7.offset

Definition at line 157 of file test7.py.

◆ parser

test7.parser = argparse.ArgumentParser(description='Multigrid - Poisson solver')

Definition at line 12 of file test7.py.

◆ peano4_project

test7.peano4_project = project.generate_Peano4_project(args.verbose)

Definition at line 165 of file test7.py.

◆ plot_after_each_mesh_sweep

test7.plot_after_each_mesh_sweep

Definition at line 159 of file test7.py.

◆ preprocessing_action_set

test7.preprocessing_action_set

Definition at line 122 of file test7.py.

◆ project

test7.project
Initial value:
1= mghype.matrixfree.api.Project( project_name = "DGPointwise",
2 namespace = [ "tests", "multigrid", "matrixfree", "Test7" ]
3 )

Definition at line 28 of file test7.py.

◆ prolongation_matrix

list test7.prolongation_matrix = [intergrid_operators.prolongation()]

Definition at line 115 of file test7.py.

◆ prolongation_matrix_scaling

list test7.prolongation_matrix_scaling = [0]

Definition at line 116 of file test7.py.

◆ required

test7.required

Definition at line 22 of file test7.py.

◆ restriction_matrix

list test7.restriction_matrix = [intergrid_operators.restriction()]

Definition at line 117 of file test7.py.

◆ restriction_matrix_scaling

list test7.restriction_matrix_scaling = [0]

Definition at line 118 of file test7.py.

◆ smoothing_steps_CG

test7.smoothing_steps_CG

Definition at line 133 of file test7.py.

◆ smoothing_steps_DG

test7.smoothing_steps_DG

Definition at line 132 of file test7.py.

◆ solver

test7.solver
Initial value:
1= mghype.matrixfree.solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver(
2 name = "DGPoisson",
3 dimensions = args.dimensions,
4 poly_degree = args.poly_degree,
5 unknowns_per_cell_node = 1,
6 solutions_per_face_node = 2,
7 projections_per_face_node = 2,
8 min_h = args.meshsize,
9 max_h = args.meshsize,
10 assembly_matrix= assembly_matrix,
11 assembly_matrix_scaling = assembly_matrix_scaling,
12 mass_matrix = mass_matrix,
13 mass_matrix_scaling = mass_matrix_scaling,
14 face_from_cell_projection = face_from_cell_projection,
15 face_from_cell_projection_scaling = face_from_cell_projection_scaling,
16 cell_from_face_projection = cell_from_face_projection,
17 cell_from_face_projection_scaling = cell_from_face_projection_scaling,
18 riemann_matrix = matrices.get_face_face_riemann_problem_matrix(),
19 boundary_matrix = matrices.get_boundary_matrix(),
20 cell_relaxation = args.omega_c,
21 face_relaxation = args.omega_f, # default here is 1, i.e. we solve exactly. See class docu
22 approximate_system_matrix = approximate_system_matrix,
23 approximate_system_matrix_scaling = approximate_system_matrix_scaling,
24 solver_tolerance = 0.01,
25 custom_init_actionset=InitDofsDGTest7
26)

Definition at line 50 of file test7.py.

◆ system_matrix

test7.system_matrix

Definition at line 86 of file test7.py.

◆ system_matrix_scaling

test7.system_matrix_scaling

Definition at line 86 of file test7.py.

◆ True

test7.True

Definition at line 22 of file test7.py.

◆ type

test7.type

Definition at line 13 of file test7.py.

◆ use_fas

test7.use_fas

Definition at line 131 of file test7.py.