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
ScalFMM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
ScalFMM
Commits
d42a3cdb
Commit
d42a3cdb
authored
Mar 15, 2017
by
COULAUD Olivier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git+ssh://scm.gforge.inria.fr//gitroot/scalfmm/scalfmm
parents
b4a8b59a
03f041bf
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
4 deletions
+50
-4
CMakeLists.txt
CMakeLists.txt
+2
-4
Obsolete/makespublic.sh
Obsolete/makespublic.sh
+22
-0
Obsolete/paraviewscript.py
Obsolete/paraviewscript.py
+26
-0
No files found.
CMakeLists.txt
View file @
d42a3cdb
...
...
@@ -929,10 +929,8 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/morse/
set
(
PACK_PACKAGE_VERSION
"
${
SCALFMM_MAJOR_VERSION
}
.
${
SCALFMM_MINOR_VERSION
}
-
${
CPACK_PACKAGE_VERSION_PATCH
}
"
)
set
(
CPACK_SOURCE_GENERATOR
"TGZ"
)
set
(
CPACK_SOURCE_PACKAGE_FILE_NAME
"SCALFMM-
${
SCALFMM_MAJOR_VERSION
}
.
${
SCALFMM_MINOR_VERSION
}
-
${
CPACK_PACKAGE_VERSION_PATCH
}
"
)
set
(
CPACK_SOURCE_IGNORE_FILES
"
\\\\
.git;.DS_Store;.*~;/*.aux;/*.idx;/*.log;/*.out;/*.toc;/*.ilg;scalfmm.pro*;org.eclipse.core.resources.prefs;.cproject;.project;/.settings/,/FmmApi/"
)
list
(
APPEND CPACK_SOURCE_IGNORE_FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
;
${
CMAKE_CURRENT_SOURCE_DIR
}
/Utils/;Notes;Deprecated;/Build*;/noDist/;/Bench/;/Obsolete/;ToRemove;Olivier;Addons/HMat"
)
# Uniform;GroupTree;Adaptive;testUnif*;/*Lagrange*")
#list(APPEND CPACK_SOURCE_IGNORE_FILES "Stages;Uniform;O;testUnif*;*Lagrange*" )
set
(
CPACK_SOURCE_IGNORE_FILES
"
\\\\
.git;.DS_Store;.*~;/*.aux;/*.idx;/*.log;/*.out;/*.toc;/*.ilg;CMakeLists.txt.user;/.settings/"
)
list
(
APPEND CPACK_SOURCE_IGNORE_FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
;
${
CMAKE_CURRENT_SOURCE_DIR
}
/Utils/;/Build*;/Obsolete/"
)
#
include
(
CPack
)
#
...
...
Obsolete/makespublic.sh
0 → 100644
View file @
d42a3cdb
#!/bin/bash
# @SCALFMM_PRIVATE
if
[
"$#"
-ne
1
]
;
then
echo
"Use current directory as source"
here
=
"."
else
echo
"Use first parameter as source"
here
=
$1
fi
echo
"Makes the files included in
$here
and below public"
for
ext
in
"cpp"
"hpp"
"h"
"c"
;
do
allfiles
=
`
find
$here
-name
\*
.
$ext
-print
`
for
thefile
in
$allfiles
;
do
echo
"Update :
$thefile
"
grep
-v
"@SCALFMM_PRIVATE"
$thefile
>
$thefile
.
$$
.tmp
mv
$thefile
.
$$
.tmp
$thefile
done
done
Obsolete/paraviewscript.py
0 → 100644
View file @
d42a3cdb
from
paraview
import
*
reader
=
GetActiveSource
()
# SVReader(DetectNumericColumns = True, FieldDelimiterCharacters = ",", HaveHeaders = True, FileName = "/home/qkhan/work/scalfmm/Build/20k10z.4.csv")
#classRef = CSVReader()
#if not isinstance(reader, classRef.__class__):
# exit(-1)
filename
=
reader
.
FileName
[
0
]
print
filename
nbZones
=
int
(
filename
.
split
(
'.'
)[
0
].
split
(
'_'
)[
-
1
][
0
:
-
1
])
selection
=
SelectionQuerySource
(
FieldType
=
"ROW"
,
QueryString
=
"zone >= 0"
)
extractor
=
ExtractSelection
(
Input
=
reader
,
Selection
=
selection
)
points
=
TableToPoints
(
Input
=
extractor
,
XColumn
=
"x"
,
YColumn
=
"y"
,
ZColumn
=
"z"
)
repr
=
GetRepresentation
()
repr
.
ColorArrayName
=
'zone'
repr
.
LookupTable
=
AssignLookupTable
(
points
.
PointData
[
'zone'
],
"Cool to Warm"
)
Show
()
#for i in range(nbZones):
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