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

Initializes a default linear and stationary model for more generic fem discretization by modifying model generated by lin_stat_model_default. More...

Go to the source code of this file.

Functions

function model = generic_fem_model_adapter (model)
 Initializes a default linear and stationary model for more generic fem discretization by modifying model generated by lin_stat_model_default. More...
 
function
detailed_data = 
genericfemmodeladapter>gfem_model_set_rb (detailed_data, RB)
 

Detailed Description

Initializes a default linear and stationary model for more generic fem discretization by modifying model generated by lin_stat_model_default.

Definition in file generic_fem_model_adapter.m.

Function Documentation

function model = generic_fem_model_adapter (   model)

Initializes a default linear and stationary model for more generic fem discretization by modifying model generated by lin_stat_model_default.

model has to be a elliptic_discrete_model.

Parameters
modelmodel
Return values
modelmodel
Required fields of model:
  • has_diffusivity —  has diffusivity
  • has_advection —  has advection
  • has_reaction —  has reaction
  • has_source —  has source
  • has_neumann_values —  has neumann values
  • has_robin_values —  has robin values
  • 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.
  • diffusivity_tensor —  diffusivity tensor
  • velocity —  velocity
  • reaction —  reaction
  • source —  source
  • neumann_values —  neumann values
  • robin_values —  robin values
Generated fields of model:
  • df_type —  df type
  • gen_model_data —  gen model data
  • detailed_simulation —  detailed simulation
  • operators —  operators
  • 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\).
  • gen_reduced_data —  gen reduced data
  • reduced_data_subset —  reduced data subset
  • set_rb_in_detailed_data —  function detailed_data=f(detailed_data, newRB) updating the reduced basis vectors stored in detailed_data by assigning them to newRB.
  • rb_simulation —  rb simulation
  • rb_reconstruction —  rb reconstruction
  • orthonormalize —  orthonormalize
  • disable_caching —  disable caching
  • has_nonlinearity —  has nonlinearity
  • has_volume_integral_matrix —  has volume integral matrix
  • matrix_volume_int_kernel —  matrix volume int kernel
  • has_volume_integral_rhs —  has volume integral rhs
  • rhs_volume_int_kernel —  rhs volume int kernel
  • has_boundary_integral_matrix —  has boundary integral matrix
  • matrix_boundary_int_kernel —  matrix boundary int kernel
  • has_boundary_integral_rhs —  has boundary integral rhs
  • rhs_boundary_int_kernel —  rhs boundary int kernel
  • 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.
  • matrix_volume_coeffs —  matrix volume coeffs
  • matrix_boundary_coeffs —  matrix boundary coeffs
  • rhs_volume_coeffs —  rhs volume coeffs
  • rhs_boundary_coeffs —  rhs boundary coeffs

Definition at line 17 of file generic_fem_model_adapter.m.

Here is the call graph for this function:

Here is the caller graph for this function: