rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
Functions
thermalblock_model_struct.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 model = thermalblock_model_struct (params)
 Thermal Block example similar as described in the book of A.T. patera and G. Rozza (just one parameter more) More...
 
function res = thermalblockmodelstruct>thermalblock_boundary_type (glob, params)
 
function model = thermalblockmodelstruct>thermalblock_set_mu (model, mu)
 
function comp = thermalblockmodelstruct>thermalblock_neumann_values_components (glob, params)
 
function res = thermalblockmodelstruct>thermalblock_diffusivity_tensor_components (glob, params)
 
function alpha = thermalblockmodelstruct>thermalblock_coercivity_alpha (model)
 
function res = thermalblockmodelstruct>my_RB_basisgen (model, detailed_data)
 
function p = thermalblockmodelstruct>thermalblock_plot_sim_data (model, detailed_data, sim_data, plot_params)
 

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_struct.m.

Function Documentation

function model = thermalblock_model_struct (   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

| ... | ..... | mu_QA |

| .... | ... | ..... |

| mu_1 | ... | mu_B1 |

\(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
modelmodel
Required fields of params:
  • B1 —  B1
  • B2 —  B2
  • mu_range —  mu range
  • mus —  mus
  • numintervals_per_block —  numintervals per block
  • pdeg —  pdeg
  • qdeg —  qdeg
Generated fields of model:
  • name —  name
  • RB_basisgen —  RB basisgen
  • RB_train_rand_seed —  RB train rand seed
  • RB_train_size —  RB train size
  • RB_stop_epsilon —  RB stop epsilon
  • RB_stop_Nmax —  RB stop Nmax
  • B1 —  B1
  • B2 —  B2
  • number_of_blocks —  number of blocks
  • mu_names —  a string array containing the symbolic names of the parameter vector \(\mu\)
  • mu_ranges —  matrix storing the admissable ranges for parameter vector components. Each two dimensional column vector represents a range for a component specified by model.mu_names.
  • mus —  mus
  • get_mu —  get mu
  • set_mu —  set mu
  • RB_generation_mode —  RB generation mode
  • 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 —  problem specific function performing the plot of the simulation results.
  • compute_output_functional —  compute output functional
  • yscale_uicontrols —  yscale uicontrols
  • coercivity_alpha —  coercivity alpha
  • continuity_gamma —  continuity gamma
  • enable_error_estimator —  enable error estimator
  • descr —  descr
  • crb_enabled —  crb enabled

Definition at line 17 of file thermalblock_model_struct.m.

Here is the call graph for this function:

Here is the caller graph for this function: