Peano
Loading...
Searching...
No Matches
dg-with-smart-pointers 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
 
 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

dg-with-smart-pointers.action

Definition at line 16 of file dg-with-smart-pointers.py.

◆ approximate_system_matrix_scaling

dg-with-smart-pointers.approximate_system_matrix_scaling = matrices.get_A_tilde()

Definition at line 51 of file dg-with-smart-pointers.py.

◆ args

dg-with-smart-pointers.args = parser.parse_args()

Definition at line 25 of file dg-with-smart-pointers.py.

◆ assembly_matrix

dg-with-smart-pointers.assembly_matrix

Definition at line 44 of file dg-with-smart-pointers.py.

◆ assembly_matrix_scaling

dg-with-smart-pointers.assembly_matrix_scaling

Definition at line 44 of file dg-with-smart-pointers.py.

◆ build_mode

dg-with-smart-pointers.build_mode = peano4.api.output.CompileMode.RELEASE

Definition at line 91 of file dg-with-smart-pointers.py.

◆ cell_from_face_projection_scaling

dg-with-smart-pointers.cell_from_face_projection_scaling = matrices.get_cell_from_face_matrix()

Definition at line 49 of file dg-with-smart-pointers.py.

◆ choices

dg-with-smart-pointers.choices

Definition at line 24 of file dg-with-smart-pointers.py.

◆ cube_size

float dg-with-smart-pointers.cube_size = 1.0

Definition at line 100 of file dg-with-smart-pointers.py.

◆ default

dg-with-smart-pointers.default

Definition at line 15 of file dg-with-smart-pointers.py.

◆ dest

dg-with-smart-pointers.dest

Definition at line 15 of file dg-with-smart-pointers.py.

◆ dimensions

dg-with-smart-pointers.dimensions

Definition at line 102 of file dg-with-smart-pointers.py.

◆ domain_size

dg-with-smart-pointers.domain_size

Definition at line 104 of file dg-with-smart-pointers.py.

◆ face_from_cell_projection_scaling

dg-with-smart-pointers.face_from_cell_projection_scaling = matrices.get_face_from_cell_matrix()

Definition at line 47 of file dg-with-smart-pointers.py.

◆ False

dg-with-smart-pointers.False

Definition at line 16 of file dg-with-smart-pointers.py.

◆ help

dg-with-smart-pointers.help

Definition at line 15 of file dg-with-smart-pointers.py.

◆ int

dg-with-smart-pointers.int

Definition at line 15 of file dg-with-smart-pointers.py.

◆ mass_matrix

dg-with-smart-pointers.mass_matrix

Definition at line 45 of file dg-with-smart-pointers.py.

◆ mass_matrix_scaling

dg-with-smart-pointers.mass_matrix_scaling

Definition at line 45 of file dg-with-smart-pointers.py.

◆ matrices

dg-with-smart-pointers.matrices
Initial value:
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 36 of file dg-with-smart-pointers.py.

◆ max_iterations

dg-with-smart-pointers.max_iterations

Definition at line 106 of file dg-with-smart-pointers.py.

◆ offset

dg-with-smart-pointers.offset

Definition at line 103 of file dg-with-smart-pointers.py.

◆ parser

dg-with-smart-pointers.parser = argparse.ArgumentParser(description='Multigrid - Poisson solver')

Definition at line 14 of file dg-with-smart-pointers.py.

◆ peano4_project

dg-with-smart-pointers.peano4_project = project.generate_Peano4_project(args.verbose)

Definition at line 112 of file dg-with-smart-pointers.py.

◆ plot_after_each_mesh_sweep

dg-with-smart-pointers.plot_after_each_mesh_sweep

Definition at line 105 of file dg-with-smart-pointers.py.

◆ project

dg-with-smart-pointers.project
Initial value:
1= mghype.matrixfree.api.Project( project_name = "DGPointwise",
2 namespace = [ "tests", "multigrid", "matrixfree", "poisson" ]
3 )

Definition at line 28 of file dg-with-smart-pointers.py.

◆ required

dg-with-smart-pointers.required

Definition at line 24 of file dg-with-smart-pointers.py.

◆ solver

dg-with-smart-pointers.solver
Initial value:
1= mghype.matrixfree.solvers.api.DGPointWiseWithSmartPointerPatches(
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)

Definition at line 57 of file dg-with-smart-pointers.py.

◆ True

dg-with-smart-pointers.True

Definition at line 24 of file dg-with-smart-pointers.py.

◆ type

dg-with-smart-pointers.type

Definition at line 15 of file dg-with-smart-pointers.py.