Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Core Modules
dune-common
Commits
9ea6f167
Commit
9ea6f167
authored
19 years ago
by
Peter Bastian
Browse files
Options
Downloads
Patches
Plain Diff
Function -> FunctionBase
solves Task
#42
[[Imported from SVN: r4162]]
parent
83211d74
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
disc/functions/functions.hh
+7
-7
7 additions, 7 deletions
disc/functions/functions.hh
with
7 additions
and
7 deletions
disc/functions/functions.hh
+
7
−
7
View file @
9ea6f167
...
...
@@ -56,7 +56,7 @@ namespace Dune
- m number of components of the vector-valued function
*/
template
<
class
DT
,
class
RT
,
int
n
,
int
m
>
class
Function
class
Function
Base
{
public:
//! export type for domain components
...
...
@@ -84,13 +84,13 @@ namespace Dune
*/
virtual
void
evalall
(
const
Dune
::
FieldVector
<
DT
,
n
>&
x
,
Dune
::
FieldVector
<
RT
,
m
>&
y
)
const
=
0
;
virtual
~
Function
()
{}
virtual
~
Function
Base
()
{}
};
//! A class providing default implementations for some method in class Function
template
<
class
DT
,
class
RT
,
int
n
,
int
m
>
class
FunctionDefault
:
virtual
public
Function
<
DT
,
RT
,
n
,
m
>
class
FunctionDefault
:
virtual
public
Function
Base
<
DT
,
RT
,
n
,
m
>
{
public:
//! default implemention for evaluation of all components
...
...
@@ -120,7 +120,7 @@ namespace Dune
- m number of components of the vector-valued function
*/
template
<
class
DT
,
class
RT
,
int
n
,
int
m
>
class
DifferentiableFunction
:
virtual
public
Function
<
DT
,
RT
,
n
,
m
>
class
DifferentiableFunction
:
virtual
public
Function
Base
<
DT
,
RT
,
n
,
m
>
{
public:
//! evaluate partial derivative
...
...
@@ -187,7 +187,7 @@ namespace Dune
- m number of components of the vector-valued function
*/
template
<
class
G
,
class
RT
,
int
m
>
class
GridFunction
:
virtual
public
Function
<
typename
G
::
ctype
,
RT
,
G
::
dimension
,
m
>
class
GridFunction
:
virtual
public
Function
Base
<
typename
G
::
ctype
,
RT
,
G
::
dimension
,
m
>
{
//! get domain field type from the grid
typedef
typename
G
::
ctype
DT
;
...
...
@@ -391,7 +391,7 @@ namespace Dune
- m number of components of the vector-valued function
*/
template
<
class
DT
,
class
RT
,
int
n
,
int
m
>
class
C0Function
:
virtual
public
Function
<
DT
,
RT
,
n
,
m
>
class
C0Function
:
virtual
public
Function
Base
<
DT
,
RT
,
n
,
m
>
{};
//! Base class for continuous grid functions
...
...
@@ -447,7 +447,7 @@ namespace Dune
- m number of components of the vector-valued function
*/
template
<
class
DT
,
class
RT
,
int
n
,
int
m
>
class
L2Function
:
virtual
public
Function
<
DT
,
RT
,
n
,
m
>
class
L2Function
:
virtual
public
Function
Base
<
DT
,
RT
,
n
,
m
>
{};
...
...
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