Commit bb1ab7e2 authored by Andreas Zilian's avatar Andreas Zilian
Browse files

Make norm function quadratic.

parent 2af82cd7
...@@ -12,7 +12,7 @@ s1.state = 'plane_stress'; ...@@ -12,7 +12,7 @@ s1.state = 'plane_stress';
% -----------------------------------------------------------MESH GENERATION--- % -----------------------------------------------------------MESH GENERATION---
%% Describe the goemetry of the problem for the mesh generator %% Describe the goemetry of the problem for the mesh generator
% function that controls grid node distribution along geo lines % function that controls grid node distribution along geo lines
nf1 = mgen.MgNormFunction( mgen.MgNormFunctionType.PowRev, [0.0, 1.0] ); nf1 = mgen.MgNormFunction( mgen.MgNormFunctionType.QuadraticRev );
% create all geo points % create all geo points
gp1 = mgen.MgGeoPoint( [0.0, 0.0] ); gp1 = mgen.MgGeoPoint( [0.0, 0.0] );
gp2 = mgen.MgGeoPoint( [1.0, 0.0] ); gp2 = mgen.MgGeoPoint( [1.0, 0.0] );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment