Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
47213dab
Commit
47213dab
authored
15 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
cleanup
parent
e86a825b
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Plugin/Particles.cpp
+2
-2
2 additions, 2 deletions
Plugin/Particles.cpp
doc/texinfo/gmsh.texi
+2
-2
2 additions, 2 deletions
doc/texinfo/gmsh.texi
with
4 additions
and
4 deletions
Plugin/Particles.cpp
+
2
−
2
View file @
47213dab
...
...
@@ -229,7 +229,7 @@ PView *GMSH_ParticlesPlugin::execute(PView *v)
PView
*
v2
=
new
PView
();
PViewDataList
*
data2
=
getDataList
(
v2
);
//
S
olve 'A2 d^2x/dt^2 + A1 dx/dt + A0 x = F' using a Newmark scheme:
//
s
olve 'A2 d^2x/dt^2 + A1 dx/dt + A0 x = F' using a Newmark scheme:
//
// (A2 + gamma DT A1 + beta DT^2 A0) x^{n+1} =
// (2 A2 - (1 - 2 gamma) DT A1 - (0.5 + gamma - 2 beta) DT^2 A0) x^n +
...
...
@@ -257,7 +257,7 @@ PView *GMSH_ParticlesPlugin::execute(PView *v)
double
F
[
3
],
X
[
3
];
o1
.
searchVector
(
X1
[
0
],
X1
[
1
],
X1
[
2
],
F
,
timeStep
);
for
(
int
k
=
0
;
k
<
3
;
k
++
)
X
[
k
]
=
1
/
c1
*
(
c2
*
X1
[
k
]
+
c3
*
X0
[
k
]
+
c4
*
F
[
k
]);
X
[
k
]
=
(
c2
*
X1
[
k
]
+
c3
*
X0
[
k
]
+
c4
*
F
[
k
])
/
c1
;
data2
->
VP
.
push_back
(
X
[
0
]
-
XINIT
[
0
]);
data2
->
VP
.
push_back
(
X
[
1
]
-
XINIT
[
1
]);
data2
->
VP
.
push_back
(
X
[
2
]
-
XINIT
[
2
]);
...
...
This diff is collapsed.
Click to expand it.
doc/texinfo/gmsh.texi
+
2
−
2
View file @
47213dab
...
...
@@ -2224,7 +2224,7 @@ elementary surfaces should be oriented consistently (using negative
identification numbers to specify reverse orientation). (Surface loops are
used to create volumes: see @ref
{
Volumes
}
.)
@item Compound Surface ( @var
{
expression
}
) = @
{
@var
{
expression-list
}
@
}
< Boundary @
{
@
{
@var
{
expression-list
}
@
}
, @
{
@var
{
expression-list
}
@
}
, @
{
@var
{
expression-list
}
@
}
, @
{
@var
{
expression-list
}
@
}
@
}
>;
@item Compound Surface ( @var
{
expression
}
) = @
{
@var
{
expression-list
}
@
}
< Boundary @
{
@
{
@var
{
expression-list
}
@
}
, @
{
@var
{
expression-list
}
@
}
, @
{
@var
{
expression-list
}
@
}
, @
{
@var
{
expression-list
}
@
}
@
}
> < Harmonic | Conformal | Harmonic
_
NoSplit | Conformal
_
NoSplit
>;
Creates a compound surface from several elementary surfaces. When
meshed, a compound surface will be reparametrized as a single surface,
whose mesh can thus cross internal boundaries. Compound surfaces are
...
...
@@ -2237,7 +2237,7 @@ mandatory @var{expression-list} on the right hand side contains the
identification number of the elementary surfaces that should be
reparametrized as a single surface.
@c TODO document the optional
@code
{
Boundary
}
arguments.
@c TODO document the optional arguments.
@item Physical Surface ( @var
{
expression
}
| @var
{
char-expression
}
) = @
{
@var
{
expression-list
}
@
}
;
Creates a physical surface. The @var
{
expression
}
inside the parentheses
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment