Rename initDisturbances to initializeDisturbances
This commit is contained in:
parent
d5a1cbdaea
commit
cdabfb9eba
@ -110,7 +110,7 @@ All stage is set to its zero position except the Spindle which is rotating at 60
|
|||||||
** Simulation Setup
|
** Simulation Setup
|
||||||
And we initialize the disturbances to be equal to zero.
|
And we initialize the disturbances to be equal to zero.
|
||||||
#+begin_src matlab
|
#+begin_src matlab
|
||||||
initDisturbances(...
|
initializeDisturbances(...
|
||||||
'Dwx', false, ... % Ground Motion - X direction
|
'Dwx', false, ... % Ground Motion - X direction
|
||||||
'Dwy', false, ... % Ground Motion - Y direction
|
'Dwy', false, ... % Ground Motion - Y direction
|
||||||
'Dwz', false, ... % Ground Motion - Z direction
|
'Dwz', false, ... % Ground Motion - Z direction
|
||||||
@ -220,7 +220,7 @@ And we save the obtained data.
|
|||||||
** Simulation Setup
|
** Simulation Setup
|
||||||
We now activate the disturbances.
|
We now activate the disturbances.
|
||||||
#+begin_src matlab
|
#+begin_src matlab
|
||||||
initDisturbances(...
|
initializeDisturbances(...
|
||||||
'Dwx', true, ... % Ground Motion - X direction
|
'Dwx', true, ... % Ground Motion - X direction
|
||||||
'Dwy', true, ... % Ground Motion - Y direction
|
'Dwy', true, ... % Ground Motion - Y direction
|
||||||
'Dwz', true, ... % Ground Motion - Z direction
|
'Dwz', true, ... % Ground Motion - Z direction
|
||||||
@ -344,7 +344,7 @@ We initialize the stages.
|
|||||||
|
|
||||||
And we initialize the disturbances to zero.
|
And we initialize the disturbances to zero.
|
||||||
#+begin_src matlab
|
#+begin_src matlab
|
||||||
initDisturbances(...
|
initializeDisturbances(...
|
||||||
'Dwx', false, ... % Ground Motion - X direction
|
'Dwx', false, ... % Ground Motion - X direction
|
||||||
'Dwy', false, ... % Ground Motion - Y direction
|
'Dwy', false, ... % Ground Motion - Y direction
|
||||||
'Dwz', false, ... % Ground Motion - Z direction
|
'Dwz', false, ... % Ground Motion - Z direction
|
||||||
@ -472,7 +472,7 @@ We initialize the stages.
|
|||||||
|
|
||||||
And we initialize the disturbances to zero.
|
And we initialize the disturbances to zero.
|
||||||
#+begin_src matlab
|
#+begin_src matlab
|
||||||
initDisturbances(...
|
initializeDisturbances(...
|
||||||
'Dwx', false, ... % Ground Motion - X direction
|
'Dwx', false, ... % Ground Motion - X direction
|
||||||
'Dwy', false, ... % Ground Motion - Y direction
|
'Dwy', false, ... % Ground Motion - Y direction
|
||||||
'Dwz', false, ... % Ground Motion - Z direction
|
'Dwz', false, ... % Ground Motion - Z direction
|
||||||
|
@ -281,20 +281,20 @@ This Matlab function is accessible [[file:../src/initializeInputs.m][here]].
|
|||||||
|
|
||||||
** Initialize Disturbances
|
** Initialize Disturbances
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args:matlab+: :tangle ../src/initDisturbances.m
|
:header-args:matlab+: :tangle ../src/initializeDisturbances.m
|
||||||
:header-args:matlab+: :comments none :mkdirp yes
|
:header-args:matlab+: :comments none :mkdirp yes
|
||||||
:header-args:matlab+: :eval no :results none
|
:header-args:matlab+: :eval no :results none
|
||||||
:END:
|
:END:
|
||||||
<<sec:initDisturbances>>
|
<<sec:initializeDisturbances>>
|
||||||
|
|
||||||
This Matlab function is accessible [[file:src/initDisturbances.m][here]].
|
This Matlab function is accessible [[file:src/initializeDisturbances.m][here]].
|
||||||
|
|
||||||
*** Function Declaration and Documentation
|
*** Function Declaration and Documentation
|
||||||
#+begin_src matlab
|
#+begin_src matlab
|
||||||
function [] = initDisturbances(args)
|
function [] = initializeDisturbances(args)
|
||||||
% initDisturbances - Initialize the disturbances
|
% initializeDisturbances - Initialize the disturbances
|
||||||
%
|
%
|
||||||
% Syntax: [] = initDisturbances(args)
|
% Syntax: [] = initializeDisturbances(args)
|
||||||
%
|
%
|
||||||
% Inputs:
|
% Inputs:
|
||||||
% - args -
|
% - args -
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
function [] = initDisturbances(args)
|
function [] = initializeDisturbances(args)
|
||||||
% initDisturbances - Initialize the disturbances
|
% initializeDisturbances - Initialize the disturbances
|
||||||
%
|
%
|
||||||
% Syntax: [] = initDisturbances(args)
|
% Syntax: [] = initializeDisturbances(args)
|
||||||
%
|
%
|
||||||
% Inputs:
|
% Inputs:
|
||||||
% - args -
|
% - args -
|
Loading…
Reference in New Issue
Block a user