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

norm = eop_space_time_norm(fd_function1, fd_function2, grid, ~) More...

Go to the source code of this file.

Functions

function norm = eop_space_time_norm (fd_function1, fd_function2,gridbase grid, unused1)
 norm = eop_space_time_norm(fd_function1, fd_function2, grid, ~) More...
 

Detailed Description

norm = eop_space_time_norm(fd_function1, fd_function2, grid, ~)

Definition in file eop_space_time_norm.m.

Function Documentation

function norm = eop_space_time_norm (   fd_function1,
  fd_function2,
gridbase  grid,
  unused1 
)

norm = eop_space_time_norm(fd_function1, fd_function2, grid, ~)

function which computes the space-time norm ||u|| = sqrt(sum_k <u^k,u^k>) with u^k a timeslice, i.e. a column of a respective function, and <.,.> being the discrete L2-SP. With two inputfuntions you compute the error ||fd_function1 - fd_function2|| and with one of them being zero you compute the norm of the other.

fd_function1 and fd_function2 have to have the same size and they are assumed to be in matrix-form, i.e. one column represents the function in one timeslice.

grid is for example model_data.grid

Parameters
fd_function1fd function1
fd_function2fd function2
gridan object
unused1Marked as "~" in original m-file.
Return values
normnorm
Required fields of grid:
  • nvertices —  number vertices

Definition at line 17 of file eop_space_time_norm.m.

Here is the caller graph for this function: