Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
simucene
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Erik Strand
simucene
Commits
378481e7
Commit
378481e7
authored
Sep 13, 2019
by
Erik Strand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README and namespaces
parent
af85d9a5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
11 deletions
+11
-11
README.md
README.md
+3
-3
simucene/main.cpp
simucene/main.cpp
+1
-1
simucene/my_class.cpp
simucene/my_class.cpp
+1
-1
simucene/my_class.h
simucene/my_class.h
+3
-3
simucene/vector.h
simucene/vector.h
+3
-3
No files found.
README.md
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
```
```
simucene/main.cpp
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
**
)
{
...
...
simucene/my_class.cpp
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
{
...
...
simucene/my_class.h
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
{
...
...
simucene/vector.h
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
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment