view +multiblock/setAllInterfaceOptions.m @ 925:8f8f5ff23ead feature/utux2D

Bugfixes in LaplaceCurve
author Martin Almquist <malmquist@stanford.edu>
date Sun, 02 Dec 2018 18:04:33 -0800
parents 93a5c59dd2fb
children 60a3bc79835a
line wrap: on
line source

% g: multiblock grid
% opts: struct of options
% Returns g.nBlocks x g.nBlocks cell array with all elements set to opts.
function optsCell = setAllInterfaceOptions(g, opts)

	optsCell = cell(g.nBlocks(), g.nBlocks());
	for i = 1:g.nBlocks()^2
		optsCell{i} = opts;
	end

end