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
2ed350c4
There was an error fetching the commit references. Please try again later.
Commit
2ed350c4
authored
6 years ago
by
Nina Džugasová
Committed by
Tomáš Oberhuber
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Started documentation of Grid1D.
parent
168f017f
No related branches found
No related tags found
1 merge request
!19
Nina
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/Examples/CMakeLists.txt
+4
-1
4 additions, 1 deletion
src/Examples/CMakeLists.txt
src/Examples/VectorExample.cpp
+2
-0
2 additions, 0 deletions
src/Examples/VectorExample.cpp
src/TNL/Meshes/GridDetails/Grid1D.h
+9
-3
9 additions, 3 deletions
src/TNL/Meshes/GridDetails/Grid1D.h
with
15 additions
and
4 deletions
src/Examples/CMakeLists.txt
+
4
−
1
View file @
2ed350c4
...
...
@@ -52,4 +52,7 @@ ADD_EXECUTABLE( StringExampleSetSize StringExampleSetSize.cpp )
target_link_libraries
(
StringExampleSetSize tnl
)
ADD_EXECUTABLE
(
TimerExample TimerExample.cpp
)
target_link_libraries
(
TimerExample tnl
)
\ No newline at end of file
target_link_libraries
(
TimerExample tnl
)
ADD_EXECUTABLE
(
VectorExample VectorExample.cpp
)
target_link_libraries
(
VectorExample tnl
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/Examples/VectorExample.cpp
0 → 100644
+
2
−
0
View file @
2ed350c4
This diff is collapsed.
Click to expand it.
src/TNL/Meshes/GridDetails/Grid1D.h
+
9
−
3
View file @
2ed350c4
...
...
@@ -149,7 +149,7 @@ class Grid< 1, Real, Device, Index > : public Object
inline
const
PointType
&
getSpaceSteps
()
const
;
/**
* \brief Sets the leng
h
t of steps.
* \brief Sets the lengt
h
of steps.
* \param steps Length of one step.
*/
inline
void
setSpaceSteps
(
const
PointType
&
steps
);
...
...
@@ -186,13 +186,19 @@ class Grid< 1, Real, Device, Index > : public Object
*/
bool
save
(
File
&
file
)
const
;
/**
**
* Method for restoring the object from a file
/**
*
\brief
Method for restoring the object from a file
.
*/
bool
load
(
File
&
file
);
/**
* \brief Method for saving the object to a file.
*/
bool
save
(
const
String
&
fileName
)
const
;
/**
* \brief Method for restoring the object from a file.
*/
bool
load
(
const
String
&
fileName
);
void
writeProlog
(
Logger
&
logger
)
const
;
...
...
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