Skip to content
Snippets Groups Projects
Commit 2ed350c4 authored by Nina Džugasová's avatar Nina Džugasová Committed by Tomáš Oberhuber
Browse files

Started documentation of Grid1D.

parent 168f017f
No related branches found
No related tags found
1 merge request!19Nina
...@@ -52,4 +52,7 @@ ADD_EXECUTABLE( StringExampleSetSize StringExampleSetSize.cpp ) ...@@ -52,4 +52,7 @@ ADD_EXECUTABLE( StringExampleSetSize StringExampleSetSize.cpp )
target_link_libraries( StringExampleSetSize tnl ) target_link_libraries( StringExampleSetSize tnl )
ADD_EXECUTABLE( TimerExample TimerExample.cpp ) ADD_EXECUTABLE( TimerExample TimerExample.cpp )
target_link_libraries( TimerExample tnl ) target_link_libraries( TimerExample tnl )
\ No newline at end of file
ADD_EXECUTABLE( VectorExample VectorExample.cpp )
target_link_libraries( VectorExample tnl )
\ No newline at end of file
...@@ -149,7 +149,7 @@ class Grid< 1, Real, Device, Index > : public Object ...@@ -149,7 +149,7 @@ class Grid< 1, Real, Device, Index > : public Object
inline const PointType& getSpaceSteps() const; inline const PointType& getSpaceSteps() const;
/** /**
* \brief Sets the lenght of steps. * \brief Sets the length of steps.
* \param steps Length of one step. * \param steps Length of one step.
*/ */
inline void setSpaceSteps(const PointType& steps); inline void setSpaceSteps(const PointType& steps);
...@@ -186,13 +186,19 @@ class Grid< 1, Real, Device, Index > : public Object ...@@ -186,13 +186,19 @@ class Grid< 1, Real, Device, Index > : public Object
*/ */
bool save( File& file ) const; 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 ); bool load( File& file );
/**
* \brief Method for saving the object to a file.
*/
bool save( const String& fileName ) const; bool save( const String& fileName ) const;
/**
* \brief Method for restoring the object from a file.
*/
bool load( const String& fileName ); bool load( const String& fileName );
void writeProlog( Logger& logger ) const; void writeProlog( Logger& logger ) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment