36 this =
this@models.muscle.AMuscleConfig(varargin[:]);
40 types = [0 .2 .4 .6 .8 1];
41 ftw = zeros(this.
FEM.GaussPointsPerElem,length(types),this.
FEM.Geometry.NumElements);
50 p = models.motorunit.Pool;
61 m.Plotter.DefaultArgs= [
" Pool ",
true];
70 geo = fem.geometry.Belly(np,10,
" Radius ",1,
" InnerRadius ",.5,
" Gamma ",2);
76 geo = this.
FEM.Geometry;
77 for k = geo.NumElements-3:geo.NumElements
78 displ_dir(:,geo.Elements(
k,geo.MasterFaces(4,:))) =
true;
81 displ_dir(:,geo.Elements(k,geo.MasterFaces(3,:))) =
true;
100 g = fem.geometry.Belly(4,35,
" InnerRadius ",.2,
" Gamma ",7);
101 g = fem.geometry.Belly(4,35,
" InnerRadius ",[.2 .6],
" Gamma ",5);
102 g = fem.geometry.Belly(4,35,
" InnerRadius ",.2,
" Gamma ",[10 20]);
103 g = fem.geometry.Belly(4,35,
" InnerRadius ",[.2 .6],
" Gamma ",[10 20]);
104 g = fem.geometry.Belly(4,35,
" Radius ",[4 2],
" InnerRadius ",.5,
" Gamma ",[10 20]);
105 g = fem.geometry.Belly(4,35,
" Radius ",@(x)[sqrt(abs(x)); 1./(x-34).^2],
" InnerRadius ",.2);
107 g = fem.geometry.Belly(4,35,
" Radius ",@(x)sqrt(abs(x)));
112 g = fem.geometry.Belly(4,35,
" Radius ",@(x)sqrt(abs(x)),
" Layers ",[.4 .7 1]);
119 m = models.muscle.Model(models.muscle.examples.Belly);
function anull = seta0(anull)
function displ_dir = setPositionDirichletBC(displ_dir)
% Dirichlet conditions: Position (fix one side)
A variable number of input arguments.
function geo = getGeometry()
Returns the intended geometry for this model config.
function configureModel(m)
static function test_BellyModel()
static function res = test_BellyGeometryGeneration()