Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simucene
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Erik Strand
simucene
Commits
378481e7
Commit
378481e7
authored
5 years ago
by
Erik Strand
Browse files
Options
Downloads
Patches
Plain Diff
Update README and namespaces
parent
af85d9a5
Branches
master
Branches containing commit
No related tags found
No related merge requests found
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
README.md
+3
-3
3 additions, 3 deletions
README.md
simucene/main.cpp
+1
-1
1 addition, 1 deletion
simucene/main.cpp
simucene/my_class.cpp
+1
-1
1 addition, 1 deletion
simucene/my_class.cpp
simucene/my_class.h
+3
-3
3 additions, 3 deletions
simucene/my_class.h
simucene/vector.h
+3
-3
3 additions, 3 deletions
simucene/vector.h
with
11 additions
and
11 deletions
README.md
+
3
−
3
View file @
378481e7
#
cpp_starter
#
simucene
A hello world C++ application using cmake and Eigen
Physical simulation experiments
## Dependencies
## Dependencies
...
@@ -29,5 +29,5 @@ Tips:
...
@@ -29,5 +29,5 @@ Tips:
From the build directory,
From the build directory,
```
```
cpp_starter/cpp_starter
simucene/simucene
```
```
This diff is collapsed.
Click to expand it.
simucene/main.cpp
+
1
−
1
View file @
378481e7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#include
"vector.h"
#include
"vector.h"
#include
<iostream>
#include
<iostream>
using
namespace
cpp_starter
;
using
namespace
simucene
;
//--------------------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------------------
int
main
(
int
const
,
char
const
**
)
{
int
main
(
int
const
,
char
const
**
)
{
...
...
This diff is collapsed.
Click to expand it.
simucene/my_class.cpp
+
1
−
1
View file @
378481e7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#include
<iostream>
#include
<iostream>
namespace
cpp_starter
{
namespace
simucene
{
//..................................................................................................
//..................................................................................................
void
MyClass
::
hello
()
const
{
void
MyClass
::
hello
()
const
{
...
...
This diff is collapsed.
Click to expand it.
simucene/my_class.h
+
3
−
3
View file @
378481e7
#ifndef
CPP_STARTER
_MY_CLASS_H
#ifndef
SIMUCENE
_MY_CLASS_H
#define
CPP_STARTER
_MY_CLASS_H
#define
SIMUCENE
_MY_CLASS_H
#include
<string>
#include
<string>
namespace
cpp_starter
{
namespace
simucene
{
//--------------------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------------------
class
MyClass
{
class
MyClass
{
...
...
This diff is collapsed.
Click to expand it.
simucene/vector.h
+
3
−
3
View file @
378481e7
#ifndef
CPP_STARTER
_VECTOR_H
#ifndef
SIMUCENE
_VECTOR_H
#define
CPP_STARTER
_VECTOR_H
#define
SIMUCENE
_VECTOR_H
#include
<Eigen/Core>
#include
<Eigen/Core>
namespace
cpp_starter
{
namespace
simucene
{
//--------------------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------------------
template
<
typename
T
>
template
<
typename
T
>
...
...
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