Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NP_TMcode
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giacomo Mulas
NP_TMcode
Commits
8bdbebc5
Commit
8bdbebc5
authored
1 year ago
by
Giovanni La Mura
Browse files
Options
Downloads
Patches
Plain Diff
Move CLUSTER subroutine implementation to clu_subs.cpp
parent
2f144ba9
No related branches found
No related tags found
No related merge requests found
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/cluster/Makefile
+6
-3
6 additions, 3 deletions
src/cluster/Makefile
src/include/clu_subs.h
+95
-1997
95 additions, 1997 deletions
src/include/clu_subs.h
src/include/sph_subs.h
+1
-1
1 addition, 1 deletion
src/include/sph_subs.h
src/libnptm/clu_subs.cpp
+1971
-0
1971 additions, 0 deletions
src/libnptm/clu_subs.cpp
with
2073 additions
and
2001 deletions
src/cluster/Makefile
+
6
−
3
View file @
8bdbebc5
...
@@ -15,8 +15,8 @@ clu: clu.o
...
@@ -15,8 +15,8 @@ clu: clu.o
edfb
:
edfb.o
edfb
:
edfb.o
$(
FC
)
$(
FCFLAGS
)
-o
$(
BUILDDIR
)
/edfb
$(
BUILDDIR
)
/edfb.o
$(
LFLAGS
)
$(
FC
)
$(
FCFLAGS
)
-o
$(
BUILDDIR
)
/edfb
$(
BUILDDIR
)
/edfb.o
$(
LFLAGS
)
np_cluster
:
$(BUILDDIR)/np_cluster.o $(BUILDDIR)/Commons.o $(BUILDDIR)/Configuration.o $(BUILDDIR)/Parsers.o $(BUILDDIR)/sph_subs.o $(BUILDDIR)/cluster.o
np_cluster
:
$(BUILDDIR)/np_cluster.o $(BUILDDIR)/Commons.o $(BUILDDIR)/Configuration.o $(BUILDDIR)/Parsers.o $(BUILDDIR)/sph_subs.o
$(BUILDDIR)/clu_subs.o
$(BUILDDIR)/cluster.o
$(
CXX
)
$(
CXXFLAGS
)
$(
CXXLFLAGS
)
-o
$(
BUILDDIR
)
/np_cluster
$(
BUILDDIR
)
/np_cluster.o
$(
BUILDDIR
)
/Commons.o
$(
BUILDDIR
)
/Configuration.o
$(
BUILDDIR
)
/Parsers.o
$(
BUILDDIR
)
/sph
ere
.o
$(
BUILDDIR
)
/cluster.o
$(
CXX
)
$(
CXXFLAGS
)
$(
CXXLFLAGS
)
-o
$(
BUILDDIR
)
/np_cluster
$(
BUILDDIR
)
/np_cluster.o
$(
BUILDDIR
)
/Commons.o
$(
BUILDDIR
)
/Configuration.o
$(
BUILDDIR
)
/Parsers.o
$(
BUILDDIR
)
/sph
_subs.o
$(
BUILDDIR
)
/clu_subs
.o
$(
BUILDDIR
)
/cluster.o
$(BUILDDIR)/np_cluster.o
:
$(BUILDDIR)/np_cluster.o
:
$(
CXX
)
$(
CXXFLAGS
)
-c
np_cluster.cpp
-o
$(
BUILDDIR
)
/np_cluster.o
$(
CXX
)
$(
CXXFLAGS
)
-c
np_cluster.cpp
-o
$(
BUILDDIR
)
/np_cluster.o
...
@@ -33,8 +33,11 @@ $(BUILDDIR)/Parsers.o:
...
@@ -33,8 +33,11 @@ $(BUILDDIR)/Parsers.o:
$(BUILDDIR)/cluster.o
:
$(BUILDDIR)/cluster.o
:
$(
CXX
)
$(
CXXFLAGS
)
-c
cluster.cpp
-o
$(
BUILDDIR
)
/cluster.o
$(
CXX
)
$(
CXXFLAGS
)
-c
cluster.cpp
-o
$(
BUILDDIR
)
/cluster.o
$(BUILDDIR)/clu_subs.o
:
$(
CXX
)
$(
CXXFLAGS
)
-c
../libnptm/clu_subs.cpp
-o
$(
BUILDDIR
)
/clu_subs.o
$(BUILDDIR)/sph_subs.o
:
$(BUILDDIR)/sph_subs.o
:
$(
CXX
)
$(
CXXFLAGS
)
-c
../libnptm/sph_subs.cpp
-o
$(
BUILDDIR
)
/sph
ere
.o
$(
CXX
)
$(
CXXFLAGS
)
-c
../libnptm/sph_subs.cpp
-o
$(
BUILDDIR
)
/sph
_subs
.o
clean
:
clean
:
rm
-f
$(
BUILDDIR
)
/
*
.o
rm
-f
$(
BUILDDIR
)
/
*
.o
...
...
This diff is collapsed.
Click to expand it.
src/include/clu_subs.h
+
95
−
1997
View file @
8bdbebc5
This diff is collapsed.
Click to expand it.
src/include/sph_subs.h
+
1
−
1
View file @
8bdbebc5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
*
*
* \brief C++ porting of SPH functions and subroutines.
* \brief C++ porting of SPH functions and subroutines.
*
*
* This library includes a collection of function that are used to solve the
* This library includes a collection of function
s
that are used to solve the
* scattering problem in the case of a single sphere. Some of these functions
* scattering problem in the case of a single sphere. Some of these functions
* are also generalized to the case of clusters of spheres. In most cases, the
* are also generalized to the case of clusters of spheres. In most cases, the
* results of calculations do not fall back to fundamental data types. They are
* results of calculations do not fall back to fundamental data types. They are
...
...
This diff is collapsed.
Click to expand it.
src/libnptm/clu_subs.cpp
0 → 100644
+
1971
−
0
View file @
8bdbebc5
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