Peano
Loading...
Searching...
No Matches
test4 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()
 
 dg_solver
 
 correction_equation_matrices
 
 system_matrix
 
 system_matrix_scaling
 
 maxx_matrix_scaling
 
 collocated_solver
 
 intergrid_operators
 add prepreocessing action set
 
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
 
 auxiliary
 
 build_mode = peano4.api.output.CompileMode.RELEASE
 
float cube_size = 1.0
 
 dimensions
 
 offset
 
 domain_size
 
 plot_after_each_mesh_sweep
 
 max_iterations
 
 peano4_project = project.generate_Peano4_project(args.verbose)
 

Variable Documentation

◆ action

test4.action

Definition at line 13 of file test4.py.

◆ approximate_system_matrix_scaling

test4.approximate_system_matrix_scaling = matrices.get_A_tilde()

Definition at line 44 of file test4.py.

◆ args

test4.args = parser.parse_args()

Definition at line 22 of file test4.py.

◆ assembly_matrix

test4.assembly_matrix

Definition at line 37 of file test4.py.

◆ assembly_matrix_scaling

test4.assembly_matrix_scaling

Definition at line 37 of file test4.py.

◆ auxiliary

test4.auxiliary

Definition at line 130 of file test4.py.

◆ build_mode

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

Definition at line 137 of file test4.py.

◆ cell_from_face_projection_scaling

test4.cell_from_face_projection_scaling = matrices.get_cell_from_face_matrix()

Definition at line 42 of file test4.py.

◆ choices

test4.choices

Definition at line 21 of file test4.py.

◆ collocated_solver

test4.collocated_solver
Initial value:
1= mghype.matrixfree.solvers.api.CollocatedDLinearDiscretisationWithPointJacobi(
2 name = "Test4CG",
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_plot_actionset=[("vector2", "getVector2")],
14 custom_init_actionset=InitCollocatedTest4
15)

Definition at line 88 of file test4.py.

◆ correction_equation_matrices

test4.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 79 of file test4.py.

◆ cube_size

float test4.cube_size = 1.0

Definition at line 146 of file test4.py.

◆ default

test4.default

Definition at line 12 of file test4.py.

◆ dest

test4.dest

Definition at line 12 of file test4.py.

◆ dg_solver

test4.dg_solver
Initial value:
1= mghype.matrixfree.solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver(
2 name = "Test4DG",
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_plot_actionset=[("vector1", "getVector1")],
26 custom_init_actionset=InitDofsDGTest4
27)

Definition at line 47 of file test4.py.

◆ dimensions

test4.dimensions

Definition at line 148 of file test4.py.

◆ domain_size

test4.domain_size

Definition at line 150 of file test4.py.

◆ face_from_cell_projection_scaling

test4.face_from_cell_projection_scaling = matrices.get_face_from_cell_matrix()

Definition at line 40 of file test4.py.

◆ False

test4.False

Definition at line 13 of file test4.py.

◆ help

test4.help

Definition at line 12 of file test4.py.

◆ injection_matrix

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

Definition at line 116 of file test4.py.

◆ injection_matrix_scaling

list test4.injection_matrix_scaling = [0]

Definition at line 117 of file test4.py.

◆ int

test4.int

Definition at line 12 of file test4.py.

◆ intergrid_operators

test4.intergrid_operators
Initial value:

add prepreocessing action set

Definition at line 107 of file test4.py.

◆ mass_matrix

test4.mass_matrix

Definition at line 38 of file test4.py.

◆ mass_matrix_scaling

test4.mass_matrix_scaling

Definition at line 38 of file test4.py.

◆ matrices

test4.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 29 of file test4.py.

◆ max_iterations

test4.max_iterations

Definition at line 152 of file test4.py.

◆ maxx_matrix_scaling

test4.maxx_matrix_scaling

Definition at line 85 of file test4.py.

◆ offset

test4.offset

Definition at line 149 of file test4.py.

◆ parser

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

Definition at line 11 of file test4.py.

◆ peano4_project

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

Definition at line 158 of file test4.py.

◆ plot_after_each_mesh_sweep

test4.plot_after_each_mesh_sweep

Definition at line 151 of file test4.py.

◆ preprocessing_action_set

test4.preprocessing_action_set

Definition at line 119 of file test4.py.

◆ project

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

Definition at line 24 of file test4.py.

◆ prolongation_matrix

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

Definition at line 112 of file test4.py.

◆ prolongation_matrix_scaling

list test4.prolongation_matrix_scaling = [0]

Definition at line 113 of file test4.py.

◆ required

test4.required

Definition at line 21 of file test4.py.

◆ restriction_matrix

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

Definition at line 114 of file test4.py.

◆ restriction_matrix_scaling

list test4.restriction_matrix_scaling = [0]

Definition at line 115 of file test4.py.

◆ system_matrix

test4.system_matrix

Definition at line 84 of file test4.py.

◆ system_matrix_scaling

test4.system_matrix_scaling

Definition at line 84 of file test4.py.

◆ True

test4.True

Definition at line 21 of file test4.py.

◆ type

test4.type

Definition at line 12 of file test4.py.