Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tnl-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TNL
tnl-dev
Commits
e659afe8
There was an error fetching the commit references. Please try again later.
Commit
e659afe8
authored
8 years ago
by
Tomáš Oberhuber
Browse files
Options
Downloads
Patches
Plain Diff
Small fix in the heat equation.
parent
f49e0dfc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/heat-equation/tnl-heat-equation.h
+0
-3
0 additions, 3 deletions
examples/heat-equation/tnl-heat-equation.h
with
0 additions
and
3 deletions
examples/heat-equation/tnl-heat-equation.h
+
0
−
3
View file @
e659afe8
...
@@ -64,14 +64,11 @@ class heatEquationSetter
...
@@ -64,14 +64,11 @@ class heatEquationSetter
typedef
Device
DeviceType
;
typedef
Device
DeviceType
;
typedef
Index
IndexType
;
typedef
Index
IndexType
;
typedef
Containers
::
StaticVector
<
MeshType
::
meshDimensions
,
Real
>
Vertex
;
static
bool
run
(
const
Config
::
ParameterContainer
&
parameters
)
static
bool
run
(
const
Config
::
ParameterContainer
&
parameters
)
{
{
enum
{
Dimensions
=
MeshType
::
meshDimensions
};
enum
{
Dimensions
=
MeshType
::
meshDimensions
};
typedef
Operators
::
LinearDiffusion
<
MeshType
,
Real
,
Index
>
ApproximateOperator
;
typedef
Operators
::
LinearDiffusion
<
MeshType
,
Real
,
Index
>
ApproximateOperator
;
typedef
Functions
::
Analytic
::
Constant
<
Dimensions
,
Real
>
RightHandSide
;
typedef
Functions
::
Analytic
::
Constant
<
Dimensions
,
Real
>
RightHandSide
;
typedef
Containers
::
StaticVector
<
MeshType
::
meshDimensions
,
Real
>
Vertex
;
String
boundaryConditionsType
=
parameters
.
getParameter
<
String
>
(
"boundary-conditions-type"
);
String
boundaryConditionsType
=
parameters
.
getParameter
<
String
>
(
"boundary-conditions-type"
);
if
(
parameters
.
checkParameter
(
"boundary-conditions-constant"
)
)
if
(
parameters
.
checkParameter
(
"boundary-conditions-constant"
)
)
...
...
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