Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
S
SGI-Bourgoin-Trachino
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki externe
Code
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Déploiement
Releases
Registre de conteneur
Registre de modèles
Surveillance
Incidents
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
Hugo TRACHINO
SGI-Bourgoin-Trachino
Validations
994ebb13
Valider
994ebb13
rédigé
5 years ago
par
Hugo TRACHINO
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
parrallel part 1
parent
525d2d6e
Aucune branche associée trouvée
Branches contenant la validation
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Modifications
1
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
1 fichier modifié
sgi2018/src/follower/transform.h
+6
-1
6 ajouts, 1 suppression
sgi2018/src/follower/transform.h
avec
6 ajouts
et
1 suppression
sgi2018/src/follower/transform.h
+
6
−
1
Voir le fichier @
994ebb13
...
@@ -16,6 +16,7 @@ namespace Transform
...
@@ -16,6 +16,7 @@ namespace Transform
// NOTE:
// NOTE:
// to generate a point from a parameter i, you can use :
// to generate a point from a parameter i, you can use :
ComplexMatrix
res
(
xiVector
.
size
(),
startIndexes
.
size
());
ComplexMatrix
res
(
xiVector
.
size
(),
startIndexes
.
size
());
#pragma omp parallel for
for
(
unsigned
int
i
=
0
;
i
<
xiVector
.
size
();
i
++
){
for
(
unsigned
int
i
=
0
;
i
<
xiVector
.
size
();
i
++
){
Point
endPoint
(
startPoint
.
omega
,
startPoint
.
size
,
xiVector
[
i
]);
Point
endPoint
(
startPoint
.
omega
,
startPoint
.
size
,
xiVector
[
i
]);
std
::
vector
<
unsigned
int
>
indexesResult
=
Follow
::
adaptativStep
(
startPoint
,
endPoint
,
startIndexes
,
distanceThreshold
,
minstepsize
);
std
::
vector
<
unsigned
int
>
indexesResult
=
Follow
::
adaptativStep
(
startPoint
,
endPoint
,
startIndexes
,
distanceThreshold
,
minstepsize
);
...
@@ -40,9 +41,12 @@ namespace Transform
...
@@ -40,9 +41,12 @@ namespace Transform
{
{
// NOTE: identical to the previous function but dumps all eigenvalues produced, not just targets, to outCsv
// NOTE: identical to the previous function but dumps all eigenvalues produced, not just targets, to outCsv
//
//
ComplexMatrix
res
(
xiVector
.
size
(),
startIndexes
.
size
());
ComplexMatrix
res
(
xiVector
.
size
(),
startIndexes
.
size
());
#pragma omp parallel for
std
::
cout
<<
"Entered linear path..."
<<
std
::
endl
;
#pragma omp parallel for
for
(
unsigned
int
i
=
0
;
i
<
xiVector
.
size
();
i
++
){
for
(
unsigned
int
i
=
0
;
i
<
xiVector
.
size
();
i
++
){
std
::
cout
<<
i
<<
std
::
endl
;
Point
endPoint
(
startPoint
.
omega
,
startPoint
.
size
,
xiVector
[
i
]);
Point
endPoint
(
startPoint
.
omega
,
startPoint
.
size
,
xiVector
[
i
]);
std
::
vector
<
unsigned
int
>
indexesResult
=
Follow
::
adaptativStep
(
startPoint
,
endPoint
,
startIndexes
,
distanceThreshold
,
minstepsize
);
std
::
vector
<
unsigned
int
>
indexesResult
=
Follow
::
adaptativStep
(
startPoint
,
endPoint
,
startIndexes
,
distanceThreshold
,
minstepsize
);
ComplexVector
v
(
indexesResult
.
size
());
ComplexVector
v
(
indexesResult
.
size
());
...
@@ -54,6 +58,7 @@ namespace Transform
...
@@ -54,6 +58,7 @@ namespace Transform
//
//
// to follow several targets from a point to another, you can use :
// to follow several targets from a point to another, you can use :
}
}
return
res
;
return
res
;
// to output the eigenvalues of a point, you can use :
// to output the eigenvalues of a point, you can use :
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter