Skip to content

Commit

Permalink
Set modifier of 'C' being 'final'
Browse files Browse the repository at this point in the history
  • Loading branch information
tobolar committed Nov 7, 2023
1 parent 0716d37 commit f151cda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -2,7 +2,7 @@ within Modelica.Mechanics.MultiBody.Visualizers.Advanced.SurfaceCharacteristics;
function rectangle "Function defining the surface characteristic of a planar rectangle"
extends Modelica.Mechanics.MultiBody.Interfaces.partialSurfaceCharacteristic(
final multiColoredSurface=false,
C=zeros(0,0,3));
final C=zeros(0,0,3));
input SI.Distance lu=1 "Length in direction u" annotation(Dialog);
input SI.Distance lv=3 "Length in direction v" annotation(Dialog);
algorithm
Expand Down
Expand Up @@ -2,7 +2,7 @@ within Modelica.Mechanics.MultiBody.Visualizers.Advanced.SurfaceCharacteristics;
function torus "Function defining the surface characteristic of a torus"
extends Modelica.Mechanics.MultiBody.Interfaces.partialSurfaceCharacteristic(
final multiColoredSurface=false,
C=zeros(0,0,3));
final C=zeros(0,0,3));
input SI.Length R=1 "Major radius (distance from center of torus to center of tube)" annotation(Dialog);
input SI.Length r=0.2 "Minor radius (radius of tube)" annotation(Dialog);
input SI.Angle opening=0 "Opening angle of torus" annotation(Dialog);
Expand Down

0 comments on commit f151cda

Please sign in to comment.