rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
Functions
thermalblock_model_hp.m File Reference

Thermal Block example similar as described in the book of A.T. patera and G. Rozza (just one parameter more) More...

Go to the source code of this file.

Functions

function descr = thermalblock_model_hp (params)
 Thermal Block example similar as described in the book of A.T. patera and G. Rozza (just one parameter more) More...
 
function model = thermalblockmodelhp>thermalblock_set_mu (model, mu)
 
function res = thermalblockmodelhp>thermalblock_boundary_type (glob, params)
 
function comp = thermalblockmodelhp>thermalblock_neumann_values_components (glob, params)
 
function res = thermalblockmodelhp>thermalblock_diffusivity_tensor_components (glob, params)
 
function alpha = thermalblockmodelhp>thermalblock_coercivity_alpha (descr)
 

Detailed Description

Thermal Block example similar as described in the book of A.T. patera and G. Rozza (just one parameter more)

Definition in file thermalblock_model_hp.m.

Function Documentation

function descr = thermalblock_model_hp (   params)

Thermal Block example similar as described in the book of A.T. patera and G. Rozza (just one parameter more)

i.e.

  • div ( a(x) grad u(x)) = q(x) on Omega u(x)) = g_D(x) on Gamma_D a(x) (grad u(x)) n) = g_N(x) on Gamma_N s = l(u) linear output functional

where Omega = [0,1]^2 is divided into B1 * B2 blocks

QA := B1*B2. The heat conductivities are given by mu_i

this is a modified thermalblock model fpr hp test with only 2 paramerts and 9 paramert domains and changed range (.04:1)

also the location of mus is changed to

| mu_1 | mu_2 | mu_1 |

| mu_2 | mu_1 | mu_2 |

| mu_1 | mu_2 | mu_1 |

\(Gamma_D =\) upper edge \(Gamma_N = boundary(Omega)\Gamma_D\)

\(a(x) = mu_i(x) if x\in B_i\) \(q(x) = 0\) \(g_D = 0\) on top \(g_N = 1\) on lower edge, 0 otherwise \(l(u)\) = average over lower edge

Parameters
paramsparams
Return values
descrdescr
Required fields of params:
  • B1 —  B1
  • B2 —  B2
  • mus —  mus
  • numintervals_per_block —  numintervals per block
  • pdeg —  pdeg
  • qdeg —  qdeg
Generated fields of descr:
  • name —  name
  • dmodel_constructor —  dmodel constructor
  • set_mu —  set mu
  • get_mu —  get mu
  • B1 —  B1
  • B2 —  B2
  • number_of_blocks —  number of blocks
  • number_of_mu —  number of mu
  • mu_names —  mu names
  • mu_ranges —  mu ranges
  • mus —  mus
  • has_diffusivity —  has diffusivity
  • has_output_functional —  has output functional
  • has_dirichlet_values —  has dirichlet values
  • has_neumann_values —  has neumann values
  • dirichlet_values —  dirichlet values
  • neumann_values —  neumann values
  • diffusivity_tensor —  diffusivity tensor
  • operators_output —  operators output
  • output_function —  output function
  • output_integral_qdeg —  output integral qdeg
  • gridtype —  gridtype
  • xnumintervals —  xnumintervals
  • ynumintervals —  ynumintervals
  • xrange —  xrange
  • yrange —  yrange
  • pdeg —  pdeg
  • qdeg —  qdeg
  • dimrange —  dimrange
  • boundary_type —  boundary type
  • plot_sim_data —  plot sim data
  • compute_output_functional —  compute output functional
  • yscale_uicontrols —  yscale uicontrols
  • coercivity_alpha —  coercivity alpha
  • continuity_gamma —  continuity gamma
  • enable_error_estimator —  enable error estimator
  • get_estimator_from_sim_data —  get estimator from sim data
  • distance_function —  distance function

Definition at line 17 of file thermalblock_model_hp.m.

Here is the call graph for this function:

Here is the caller graph for this function: