32 this =
this@models.muscle.AMuscleConfig(varargin[:]);
80 if elemidx == 1 && faceidx == 1
84 elseif elemidx == 5 && faceidx == 2
107 geo = fem.geometry.RegularHex8Grid([0 20],-40:10:40,[0 15],.1);
108 geo = geo.toCube20Node;
118 geo = this.
FEM.Geometry;
119 displ_dir(:,geo.Elements(8,geo.MasterFaces(4,:))) =
true;
130 anull([1 3],:,:) = 1;
143 m = models.muscle.Model(models.muscle.examples.LongForceBC);
static function test_LongForceBC()
function alpha = getAlphaRamp(ramptime,double alphamax,double starttime)
Creates a linearly increasing scalar function starting at starttime milliseconds ranging from zero to...
function geo = getGeometry()
Single cube with same config as reference element.
Demo class with a long beam, diagonal fibre direction and two-point boundary face forces in opposing ...
function displ_dir = setPositionDirichletBC(displ_dir)
% Dirichlet conditions: Position (fix one side)
function anull = seta0(anull)
Direction is xz.
A variable number of input arguments.
function u = getInputs()
Returns the inputs of the model.
double ActivationRampMax
Determines the default value for maximum activation in activation ramps.
function P = getBoundaryPressure(elemidx, faceidx)
Determines the neumann forces on the boundary.
function configureModel(m)