![]() |
NuTo
Numerics Tool
|
Functions | |
| def | smooth_dirac_constraint_function (time, peak_time) |
| def | line_distance (l_0, n, p) |
| def | setup_geometry (s) |
| def | run_time_integration (s, result_directory, end_time) |
| def | define_bc_point_source () |
| def | define_bc_line_source (l_0, n) |
Variables | |
| int | LENGTH_X = 3 |
| int | LENGTH_Y = 3 |
| int | LENGTH_Z = 1 |
| float | ELEMENT_SIZE = 0.20 |
| s = nuto.Structure(2) | |
| def WaveFieldSynthesis.define_bc_line_source | ( | l_0, | |
| n | |||
| ) |
Define the boundary conditions for a line source. Wave coming from the line defined by point l_0 and normal vector n. Assumes that l_0 is in the SOUTH_WEST of the domain and n pointing towards it. So the bcs are applied to the SOUTH and the WEST boundary and NORTH and EAST are in their shadow
| def WaveFieldSynthesis.define_bc_point_source | ( | ) |
Define the boundary conditions for a line source. This currently assumes that the point source only influences the WEST border of the domain. EAST, NORTH and SOUTH are in the _shadow_ of WEST
| def WaveFieldSynthesis.line_distance | ( | l_0, | |
| n, | |||
| p | |||
| ) |
Calculate the distance from line l_0 + t * n to the point p.
| def WaveFieldSynthesis.run_time_integration | ( | s, | |
| result_directory, | |||
| end_time | |||
| ) |
| def WaveFieldSynthesis.setup_geometry | ( | s | ) |
| def WaveFieldSynthesis.smooth_dirac_constraint_function | ( | time, | |
| peak_time | |||
| ) |
| float WaveFieldSynthesis.ELEMENT_SIZE = 0.20 |
| int WaveFieldSynthesis.LENGTH_X = 3 |
| int WaveFieldSynthesis.LENGTH_Y = 3 |
| int WaveFieldSynthesis.LENGTH_Z = 1 |
| WaveFieldSynthesis.s = nuto.Structure(2) |
1.8.11