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

modifies the reduced basis size fields of model by a single variable. More...

Go to the source code of this file.

Functions

function model = couple_N_and_M_by_c (model, c)
 modifies the reduced basis size fields of model by a single variable. More...
 

Detailed Description

modifies the reduced basis size fields of model by a single variable.

Definition in file couple_N_and_M_by_c.m.

Function Documentation

function model = couple_N_and_M_by_c (   model,
  c 
)

modifies the reduced basis size fields of model by a single variable.

Parameters
modelmodel
csets the reduced basis sizes to \((N,M) = c (N_{\mbox{max}}, c_{MbyN} N_{\mbox{max}})\). For time-adaptive schemes with several collateral reduced basis spaces, the following formula is applied: \((N,M^k) = c (N_{\mbox{max}}), c_{MbyN} \frac{M^k_{\mbox{max}}}{\mbox{max}_{k=0,...,K} M^k_{\mbox{max}}} N_{\mbox{max}}.\)
Return values
modelmodel
Required fields of model:
  • Nmax —  maximum number of reduced basis vectors
  • Mmax —  maximum number of collateral reduced basis vectors
  • M_by_N_ratio —  ratio constant \(c_{MbyN}\) fixing the ratio between collateral and reduced basis vector numbers
Generated fields of model:
  • N —  N
  • M —  M

Definition at line 17 of file couple_N_and_M_by_c.m.

Here is the caller graph for this function: