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

model = scm_minimal_model(size) More...

Go to the source code of this file.

Functions

function model = scm_minimal_model (size)
 model = scm_minimal_model(size) More...
 
function
model_data = 
scmminimalmodel>scm_minimal_model_gen_model_data (model)
 
function [ A
, b ] = 
scmminimalmodel>scm_minimal_model_operators (model, model_data)
 

Detailed Description

model = scm_minimal_model(size)

Definition in file scm_minimal_model.m.

Function Documentation

function model = scm_minimal_model (   size)

model = scm_minimal_model(size)

a minimal-example of size = size(input) with the following matrices
A =(1 0 0 ... 1 b = (0 K = (1 0 ... 0 1 1 0 ... 0 0 0 1 0 ... 0 0 1 1 0 ... 0 ... 0 0 1 0 ... 0 ..... 0) ..... 0 ... 0 1) 0 .... 0 1)

with A^1 = K and A^2 holding the rest of A so that A = (1-mu)*A^1 + mu*A^2 This is coercive for mu = 0 (with alpha = beta = 1) and inf-sup stable (but not coercive) for mu = 1. This minimal model is used in the scm_demo to proof, that the lin_stat inf-sup code is actually working.

Parameters
sizesize
Return values
modelmodel
Generated fields of model:
  • size —  size
  • rb_problem_type —  rb problem type
  • verbose —  flag indicating the verbosity level of informative output
  • set_mu —  set mu
  • get_mu —  get mu
  • gen_model_data —  gen model data
  • get_inner_product_matrix —  function W=f(model_data) returning the mass matrix \(W\) for inner product computation \(\langle u,v \rangle = u^t W v\).
  • mu_names —  a string array containing the symbolic names of the parameter vector \(\mu\)
  • mu —  the parameter vector \(\mu\). It should only be set via the function set_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.
  • decomp_mode —  flag indicating the operation mode of the function:
    • 0 (complete) : no affine parameter dependence or decomposition is performed.
    • 1 (components) : for each output argument a cell array of output matrices is returned representing the \(q\)-th component independent of the parameters given in mu_names.
    • 2 (coefficients) : returns a vector where each coordinate represents the \(q\)-the coefficient \(\sigma_{\cdot}^{q}(\mu)\) dependent on the parameters given in mu_names.
  • operators —  operators
  • use_scm —  use scm
  • scm_M_alpha —  scm M alpha
  • scm_M_plus —  scm M plus
  • scm_eps_tol —  scm eps tol
  • scm_size_C —  scm size C

Definition at line 17 of file scm_minimal_model.m.

Here is the caller graph for this function: