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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
3c3d6ecf
Commit
3c3d6ecf
authored
12 years ago
by
Sebastien Blaise
Browse files
Options
Downloads
Patches
Plain Diff
Continuing to fix commit 13635: virtualize functions that should have been virtual
parent
da65fb08
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
Numeric/nodalBasis.h
+8
-8
8 additions, 8 deletions
Numeric/nodalBasis.h
Numeric/polynomialBasis.cpp
+1
-2
1 addition, 2 deletions
Numeric/polynomialBasis.cpp
with
9 additions
and
10 deletions
Numeric/nodalBasis.h
+
8
−
8
View file @
3c3d6ecf
...
@@ -16,18 +16,18 @@ class nodalBasis {
...
@@ -16,18 +16,18 @@ class nodalBasis {
bool
serendip
;
bool
serendip
;
fullMatrix
<
double
>
points
;
fullMatrix
<
double
>
points
;
virtual
void
initialize
()
{}
;
virtual
void
initialize
()
=
0
;
// Basis functions evaluation
// Basis functions evaluation
inline
virtual
void
f
(
double
u
,
double
v
,
double
w
,
double
*
sf
)
const
{};
inline
virtual
void
f
(
double
u
,
double
v
,
double
w
,
double
*
sf
)
const
{
Msg
::
Fatal
(
"Not implemented"
);
};
inline
void
f
(
fullMatrix
<
double
>
&
coord
,
fullMatrix
<
double
>
&
sf
)
const
{};
inline
virtual
void
f
(
fullMatrix
<
double
>
&
coord
,
fullMatrix
<
double
>
&
sf
)
const
{
Msg
::
Fatal
(
"Not implemented"
);
};
// Basis functions gradients evaluation
// Basis functions gradients evaluation
inline
virtual
void
df
(
double
u
,
double
v
,
double
w
,
double
grads
[][
3
])
const
{};
inline
virtual
void
df
(
double
u
,
double
v
,
double
w
,
double
grads
[][
3
])
const
{
Msg
::
Fatal
(
"Not implemented"
);
};
inline
void
df
(
fullMatrix
<
double
>
&
coord
,
fullMatrix
<
double
>
&
dfm
)
const
{};
inline
virtual
void
df
(
fullMatrix
<
double
>
&
coord
,
fullMatrix
<
double
>
&
dfm
)
const
{
Msg
::
Fatal
(
"Not implemented"
);
};
inline
void
ddf
(
double
u
,
double
v
,
double
w
,
double
grads
[][
3
][
3
])
const
{};
inline
virtual
void
ddf
(
double
u
,
double
v
,
double
w
,
double
grads
[][
3
][
3
])
const
{
Msg
::
Fatal
(
"Not implemented"
);
};
inline
void
dddf
(
double
u
,
double
v
,
double
w
,
double
grads
[][
3
][
3
][
3
])
const
{};
inline
virtual
void
dddf
(
double
u
,
double
v
,
double
w
,
double
grads
[][
3
][
3
][
3
])
const
{
Msg
::
Fatal
(
"Not implemented"
);
};
inline
virtual
int
getNumShapeFunctions
()
const
{
Msg
::
Fatal
(
"Not implemented"
);
return
-
1
;}
inline
virtual
int
getNumShapeFunctions
()
const
{
Msg
::
Fatal
(
"Not implemented"
);
return
-
1
;}
...
@@ -50,7 +50,7 @@ class nodalBasis {
...
@@ -50,7 +50,7 @@ class nodalBasis {
inline
virtual
const
std
::
vector
<
int
>
&
getClosure
(
int
id
)
const
{
Msg
::
Fatal
(
"Not implemented"
);
std
::
vector
<
int
>
*
ret
=
NULL
;
return
*
ret
;}
inline
virtual
const
std
::
vector
<
int
>
&
getClosure
(
int
id
)
const
{
Msg
::
Fatal
(
"Not implemented"
);
std
::
vector
<
int
>
*
ret
=
NULL
;
return
*
ret
;}
inline
virtual
const
std
::
vector
<
int
>
&
getFullClosure
(
int
id
)
const
{
Msg
::
Fatal
(
"Not implemented"
);
std
::
vector
<
int
>
*
ret
=
NULL
;
return
*
ret
;}
inline
virtual
const
std
::
vector
<
int
>
&
getFullClosure
(
int
id
)
const
{
Msg
::
Fatal
(
"Not implemented"
);
std
::
vector
<
int
>
*
ret
=
NULL
;
return
*
ret
;}
inline
virtual
int
getClosureId
(
int
iFace
,
int
iSign
=
1
,
int
iRot
=
0
)
const
{
Msg
::
Fatal
(
"Not implemented"
);
return
-
1
;}
inline
virtual
int
getClosureId
(
int
iFace
,
int
iSign
=
1
,
int
iRot
=
0
)
const
{
Msg
::
Fatal
(
"Not implemented"
);
return
-
1
;}
inline
void
breakClosureId
(
int
i
,
int
&
iFace
,
int
&
iSign
,
int
&
iRot
)
const
{
Msg
::
Fatal
(
"Not implemented"
);
iFace
=-
1
;
iSign
=-
1
;
iRot
=-
1
;}
inline
virtual
void
breakClosureId
(
int
i
,
int
&
iFace
,
int
&
iSign
,
int
&
iRot
)
const
{
Msg
::
Fatal
(
"Not implemented"
);
iFace
=-
1
;
iSign
=-
1
;
iRot
=-
1
;}
static
int
getTag
(
int
parentTag
,
int
order
,
bool
serendip
=
false
)
static
int
getTag
(
int
parentTag
,
int
order
,
bool
serendip
=
false
)
{
{
...
...
This diff is collapsed.
Click to expand it.
Numeric/polynomialBasis.cpp
+
1
−
2
View file @
3c3d6ecf
...
@@ -1521,7 +1521,6 @@ void polynomialBasis::initialize()
...
@@ -1521,7 +1521,6 @@ void polynomialBasis::initialize()
this
->
points
.
print
();
this
->
points
.
print
();
coefficients
=
generateLagrangeMonomialCoefficients
(
monomials
,
points
);
coefficients
=
generateLagrangeMonomialCoefficients
(
monomials
,
points
);
}
}
...
...
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