comparison +scheme/Scheme.m @ 979:7a5e770974ed feature/timesteppers

Merge with default
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 07 Jan 2019 16:26:00 +0100
parents af397cc35239
children 514a98f9f90d c12b84fe9b00
comparison
equal deleted inserted replaced
933:34b3d092a4d0 979:7a5e770974ed
24 % interfaced to. 24 % interfaced to.
25 % neighbour_boundary is a string specifying which boundary to 25 % neighbour_boundary is a string specifying which boundary to
26 % interface to. 26 % interface to.
27 % penalty may be a cell array if there are several penalties with different weights 27 % penalty may be a cell array if there are several penalties with different weights
28 [closure, penalty] = boundary_condition(obj,boundary,type) % TODO: Change name to boundaryCondition 28 [closure, penalty] = boundary_condition(obj,boundary,type) % TODO: Change name to boundaryCondition
29 [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary) 29
30 % type -- sets the type of interface, could be a string or a struct or something else
31 % depending on the particular scheme implementation
32 [closure, penalty] = interface(obj,boundary,neighbour_scheme,neighbour_boundary,type)
30 33
31 % TODO: op = getBoundaryOperator()?? 34 % TODO: op = getBoundaryOperator()??
32 % makes sense to have it available through a method instead of random properties 35 % makes sense to have it available through a method instead of random properties
33 36
34 % Returns the number of degrees of freedom. 37 % Returns the number of degrees of freedom.