This is a static copy of a profile report

Home

init_bcs (4 calls, 0.000 sec)
Generated 04-Aug-2014 13:05:16 using cpu time.
function in file /gdata/projects/atl/FV_Matlab_Framework_JingPJH/trunk/Src/Util/init_bcs.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
Bottom_Gravity_Current_Setup6script4
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
21
bcN = zeros(bc(3) - bc(2), 1);
40 s0%
20
bcO = ((bc(1) + 1) : bc(2))';
40 s0%
19
bcD = zeros(bc(2), 1);
40 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function21
Non-code lines (comments, blank lines)18
Code lines (lines that can run)3
Code lines that did run3
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
calls 
 line
   1 
function [bcD, bcO, bcN] = init_bcs(bc)
   2 
%function [bcD, bcO, bcN] = init_bcs(bc)
   3 
%
   4 
% This function intitialized the boundary value arrays
   5 
%
   6 
% INPUTS:
   7 
%       bc:     Array giving maximum id of each boundary type.
   8 
%               This array is outputted from set_bcs.m
   9 
%       
  10 
% OUTPUTS:
  11 
%       bcD:    Boundary values for Dirichlet boundary conditions
  12 
%       bcO:    Boundary values for Open boundary conditions
  13 
%       bcN:    Boundary values for Neumann boundary conditions
  14 
%
  15 
% See also: set_bcs.m
  16 
%
  17 
% Written by:   Matt Ueckermann
  18 

      4 
  19 
bcD = zeros(bc(2), 1); 
      4 
  20 
bcO = ((bc(1) + 1) : bc(2))'; 
      4 
  21 
bcN = zeros(bc(3) - bc(2), 1);