add DATA

parent fa9861a4
C_G:
element_types:
- float64
len: 5
len: 9
type: list
C_M_times_1_plus_C_T:
element_types:
- float64
len: 5
len: 9
type: list
H:
element_types:
- float
len: 5
len: 9
type: list
basis_size:
element_types:
- int
len: 5
len: 9
max_depth: 1
max_len: 4096
total_elements: 5456
max_len: 9
total_elements: 9
type: list of lists
error:
element_types:
- float64
len: 5
len: 9
type: list
estimate:
element_types:
- float64
len: 5
len: 9
type: list
h:
element_types:
- float
len: 5
len: 9
max_depth: 1
max_len: 4096
total_elements: 5456
max_len: 9
total_elements: 9
type: list of lists
num_DoFs:
element_types:
- int
len: 5
len: 9
type: list
num_elements:
element_types:
- int
len: 5
len: 9
max_depth: 1
max_len: 4096
total_elements: 5456
max_len: 9
total_elements: 9
type: list of lists
num_subdomains:
element_types:
- int
len: 5
len: 9
type: list
num_workers:
element_types:
- int
len: 5
len: 9
type: list
penalty:
element_types:
- float64
len: 5
len: 9
type: list
reductor:
element_types:
- str
len: 5
len: 9
type: list
comment: ''
experiment: test_grid_dependecy_of_Q1_localized_estimate.fixed_H_refined_h
parameters:
domain: !!python/tuple
- - 0
- 0
- - 1
- 1
local_space_type: dg_p1
mu: 1
num_h_refs: 8
num_macro_elements:
- 1
- 1
problem: thermalblock_problem(num_blocks=(1, 1), parameter_range=(0.1, 1))
protected: false
started: 2019-08-27 21:29:27.682419
tags: []
C_G:
element_types:
- float64
len: 10
len: 8
type: list
C_M_times_1_plus_C_T:
element_types:
- float64
len: 10
len: 8
type: list
H:
element_types:
- float
len: 10
len: 8
type: list
basis_size:
element_types:
- int
len: 10
len: 8
max_depth: 1
max_len: 10
total_elements: 40
max_len: 8
total_elements: 32
type: list of lists
error:
element_types:
- float64
len: 10
len: 8
type: list
estimate:
element_types:
- float64
len: 10
len: 8
type: list
h:
element_types:
- float
len: 10
len: 8
max_depth: 1
max_len: 10
total_elements: 40
max_len: 8
total_elements: 32
type: list of lists
num_DoFs:
element_types:
- int
len: 10
len: 8
type: list
num_elements:
element_types:
- int
len: 10
len: 8
max_depth: 1
max_len: 10
total_elements: 40
max_len: 8
total_elements: 32
type: list of lists
num_subdomains:
element_types:
- int
len: 10
len: 8
type: list
num_workers:
element_types:
- int
len: 10
len: 8
type: list
penalty:
element_types:
- float64
len: 10
len: 8
type: list
reductor:
element_types:
- str
len: 10
len: 8
type: list
......@@ -6,23 +6,13 @@ parameters:
- 0
- - 1
- 1
local_space_type: cg_p1
local_space_type: dg_p1
mu: 1
num_h_refs: 7
num_macro_elements:
- 2
- 2
num_refs: !!python/tuple
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
problem: thermalblock_problem(num_blocks=(1, 1), parameter_range=(0.1, 1))
protected: false
started: 2019-08-20 22:38:58.821681
started: 2019-08-27 21:31:37.830161
tags: []
C_G:
element_types:
- float64
len: 7
type: list
C_M_times_1_plus_C_T:
element_types:
- float64
len: 7
type: list
H:
element_types:
- float
len: 7
type: list
basis_size:
element_types:
- int
len: 7
max_depth: 1
max_len: 16
total_elements: 112
type: list of lists
error:
element_types:
- float64
len: 7
type: list
estimate:
element_types:
- float64
len: 7
type: list
h:
element_types:
- float
len: 7
max_depth: 1
max_len: 16
total_elements: 112
type: list of lists
num_DoFs:
element_types:
- int
len: 7
type: list
num_elements:
element_types:
- int
len: 7
max_depth: 1
max_len: 16
total_elements: 112
type: list of lists
num_subdomains:
element_types:
- int
len: 7
type: list
num_workers:
element_types:
- int
len: 7
type: list
penalty:
element_types:
- float64
len: 7
type: list
reductor:
element_types:
- str
len: 7
type: list
comment: ''
experiment: test_grid_dependecy_of_Q1_localized_estimate.fixed_H_refined_h
parameters:
domain: !!python/tuple
- - 0
- 0
- - 1
- 1
local_space_type: dg_p1
mu: 1
num_h_refs: 6
num_macro_elements:
- 4
- 4
problem: thermalblock_problem(num_blocks=(1, 1), parameter_range=(0.1, 1))
protected: false
started: 2019-08-27 21:33:49.597156
tags: []
C_G:
element_types:
- float64
len: 4
type: list
C_M_times_1_plus_C_T:
element_types:
- float64
len: 4
type: list
H:
element_types:
- float
len: 4
type: list
basis_size:
element_types:
- int
len: 4
max_depth: 1
max_len: 64
total_elements: 85
type: list of lists
error:
element_types:
- float64
len: 4
type: list
estimate:
element_types:
- float64
len: 4
type: list
h:
element_types:
- float
len: 4
max_depth: 1
max_len: 64
total_elements: 85
type: list of lists
num_DoFs:
element_types:
- int
len: 4
type: list
num_elements:
element_types:
- int
len: 4
max_depth: 1
max_len: 64
total_elements: 85
type: list of lists
num_subdomains:
element_types:
- int
len: 4
type: list
num_workers:
element_types:
- int
len: 4
type: list
penalty:
element_types:
- float64
len: 4
type: list
reductor:
element_types:
- str
len: 4
type: list
......@@ -6,13 +6,13 @@ parameters:
- 0
- - 1
- 1
local_space_type: cg_p1
macro_grid:
- 4
- 4
global_grid_refines: 3
initial_macro_grid:
- 1
- 1
local_space_type: dg_p1
mu: 1
num_refs: 7
problem: thermalblock_problem(num_blocks=(1, 1), parameter_range=(0.1, 1))
protected: false
started: 2019-08-20 23:02:41.431912
started: 2019-08-27 21:35:24.677269
tags: []
argv:
- /home/falbr_01/res-iplrb/scripts/test_grid_dependecy_of_Q1_localized_estimate.py
environment:
ACK_COLOR_FILENAME: bold blue
ACK_COLOR_LINENO: bold magenta
ALLINEA_LICENCE_FILE: /home/falbr_01/.config/allinea/Licence
ASAN_OPTIONS: check_initialization_order=1:detect_leaks=0:abort_on_error=1
ASAN_SYMBOLIZER_PATH: /usr/bin/asan_symbolize-7
BASEDIR: /home/falbr_01/res-iplrb
CLANG_VERSION: '7'
CMAKE_FLAGS: -DDUNE_PYTHON_VIRTUALENV_EXECUTABLE=python3 -DDUNE_PYTHON_VIRTUALENV_SETUP=TRUE
-DDUNE_PYTHON_ALLOW_GET_PIP=TRUE
DEBIAN_FRONTEND: noninteractive
DISPLAY: localhost:10.0
DXT_DOCKER: '1'
DXT_ENVIRONMENT: debian-full
DXT_LIBCLANG_SO: /usr/lib/llvm-7/lib/libclang.so.1
EDITOR: vim
EXPOSED_PORT: '18999'
GCC_VERSION: '8'
GDK_DPI_SCALE: '1'
HISTCONTROL: ignoreboth
HISTFILESIZE: '10000'
HISTSIZE: '10000'
HOME: /home/falbr_01
HOSTNAME: docker
INSTALL_PREFIX: /home/falbr_01/res-iplrb/environments/debian-full
LANG: en_US.UTF-8
LC_CTYPE: en_US.UTF-8
LC_TIME: de_DE.UTF-8
LD_LIBRARY_PATH: '/home/falbr_01/res-iplrb/environments/debian-full/lib64:/home/falbr_01/res-iplrb/environments/debian-full/lib:'
LOCAL_GID: '100'
LOCAL_UID: '1002'
LOCAL_USER: falbr_01
NVIDIA_DRIVER_CAPABILITIES: graphics
NVIDIA_VISIBLE_DEVICES: all
OLDPWD: /home/falbr_01
OPTS: gcc-relwithdebinfo
PATH: /home/falbr_01/res-iplrb/environments/debian-full/build-gcc-relwithdebinfo/dune-common/dune-env/bin:/home/falbr_01/res-iplrb/environments/debian-full/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PKG_CONFIG_PATH: '/home/falbr_01/res-iplrb/environments/debian-full/lib64/pkgconfig:/home/falbr_01/res-iplrb/environments/debian-full/lib/pkgconfig:/home/falbr_01/res-iplrb/environments/debian-full/share/pkgconfig:'
PWD: /home/falbr_01/res-iplrb/scripts
QT_SCALE_FACTOR: '1'
QT_X11_NO_MITSHM: '1'
SHLVL: '2'
SIMDB_GIT_REPOS: /home/falbr_01/res-iplrb
SIMDB_PATH: /home/falbr_01/res-iplrb/DATA
TERM: xterm
VIRTUAL_ENV: /home/falbr_01/res-iplrb/environments/debian-full/build-gcc-relwithdebinfo/dune-common/dune-env
_: /home/falbr_01/res-iplrb/environments/debian-full/build-gcc-relwithdebinfo/dune-common/dune-env/bin/ipython
git:
res-iplrb:
branch: pure_elliptic
clean: false
diff: "\e[1mdiff --git a/scripts/test_grid_dependecy_of_Q1_localized_estimate.py\
\ b/scripts/test_grid_dependecy_of_Q1_localized_estimate.py\e[m\n\e[1mindex\
\ a4b7e91..9c8eb75 100644\e[m\n\e[1m--- a/scripts/test_grid_dependecy_of_Q1_localized_estimate.py\e\
[m\n\e[1m+++ b/scripts/test_grid_dependecy_of_Q1_localized_estimate.py\e[m\n\
\e[36m@@ -138,8 +138,8 @@\e[m \e[mdef test_fixed_h_refined_H():\e[m\n \e[m\n\
\ \e[m\n if __name__ == '__main__':\e[m\n\e[31m- r = run_fixed_H_refined_h()\e\
[m\n\e[32m+\e[m\e[32m r = run_fixed_H_refined_h(num_refs=(1, 2, 3, 4, 5,\
\ 6, 7, 8, 9, 10))\e[m\n print('')\e[m\n print('')\e[m\n\e[31m- r\
\ = run_fixed_h_refined_H()\e[m\n\e[32m+\e[m\e[32m r = run_fixed_h_refined_H(num_H_refs=5)\e\
[m\n \e[m"
revision: 3edd6ee4309d27898459ee640d4ad13721fd4bfe
status: "\e[31mM\e[m scripts/test_grid_dependecy_of_Q1_localized_estimate.py\n\
\e[31m??\e[m docker-homes/"
untracked: |-
docker-homes/
parabolic-lrbms-2017/
host: !!python/object/apply:posix.uname_result
- !!python/tuple
- Linux
- docker
- 4.14.109-1-MANJARO
- '#1 SMP PREEMPT Wed Mar 27 18:51:38 UTC 2019'
- x86_64
- {}
script: /home/falbr_01/res-iplrb/scripts/test_grid_dependecy_of_Q1_localized_estimate.py
started: 2019-08-20 22:38:58.816388
../../DATA/test_grid_dependecy_of_Q1_localized_estimate.fixed_H_refined_h-2019-08-20T22-38-58.821646-docker
\ No newline at end of file
../../DATA/test_grid_dependecy_of_Q1_localized_estimate.fixed_h_refined_H-2019-08-20T23-02-41.428840-docker
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -8,9 +8,9 @@ from pymor.core.logger import set_log_levels, getLogger
from pymor.operators.block import BlockOperator
from thermalblock_problem import domain, init_problem
from dune.gdt.usercode import DomainDecomposition
from dune.gdt.usercode import DomainDecomposition, ContinuousLagrangePartitionOfUnity
from distributed_elliptic_discretizer import discretize_elliptic_block_swipdg
from distributed_elliptic_reductor import IPLRBQ1LocalizedCoerciveReductor as Q1Reductor
from distributed_elliptic_reductor import PouLocalizedCoerciveReductor as Reductor
FILENAME = os.path.basename(__file__)[:-3]
......@@ -24,14 +24,24 @@ set_log_levels({
make_problem = lambda : init_problem((1, 1))
base_config = {
'local_space_type': 'cg_p1',
'local_space_type': 'dg_p1',
'domain': domain,
'problem': make_problem()['id'],
'mu': 1,
}
def compute_on_single_refinemet(cfg):
def assert_results(results, expected_results):
errors = {}
for kk, vv in expected_results.items():
if not np.allclose(results[kk], vv):