Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libdrt
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Klemm, Carl Philipp
libdrt
Commits
8fa6da4f
Commit
8fa6da4f
authored
2 years ago
by
Carl Philipp Klemm
Browse files
Options
Downloads
Patches
Plain Diff
split types into own header
parent
2fa8051a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
eisdrt/drt.h
+1
-14
1 addition, 14 deletions
eisdrt/drt.h
eisdrt/types.h
+17
-0
17 additions, 0 deletions
eisdrt/types.h
with
18 additions
and
14 deletions
eisdrt/drt.h
+
1
−
14
View file @
8fa6da4f
...
@@ -2,20 +2,7 @@
...
@@ -2,20 +2,7 @@
#include
<eisgenerator/eistype.h>
#include
<eisgenerator/eistype.h>
#include
<Eigen/Core>
#include
<Eigen/Core>
struct
FitMetics
#include
"types.h"
{
int
iterations
;
fvalue
fx
;
bool
compleated
;
};
struct
FitParameters
{
int
maxIter
;
double
epsilon
;
double
step
;
FitParameters
(
int
maxIterI
,
double
epsilonI
=
1e-2
,
double
stepI
=
0
.
001
)
:
maxIter
(
maxIterI
),
epsilon
(
epsilonI
),
step
(
stepI
){}
};
Eigen
::
VectorX
<
fvalue
>
calcDrt
(
Eigen
::
VectorX
<
std
::
complex
<
fvalue
>>&
impedanceSpectra
,
Eigen
::
VectorX
<
fvalue
>&
omegaTensor
,
FitMetics
&
fm
,
const
FitParameters
&
fp
);
Eigen
::
VectorX
<
fvalue
>
calcDrt
(
Eigen
::
VectorX
<
std
::
complex
<
fvalue
>>&
impedanceSpectra
,
Eigen
::
VectorX
<
fvalue
>&
omegaTensor
,
FitMetics
&
fm
,
const
FitParameters
&
fp
);
...
...
This diff is collapsed.
Click to expand it.
eisdrt/types.h
0 → 100644
+
17
−
0
View file @
8fa6da4f
#pragma once
#include
<eisgenerator/eistype.h>
struct
FitMetics
{
int
iterations
;
fvalue
fx
;
bool
compleated
;
};
struct
FitParameters
{
int
maxIter
;
double
epsilon
;
double
step
;
FitParameters
(
int
maxIterI
,
double
epsilonI
=
1e-2
,
double
stepI
=
0
.
001
)
:
maxIter
(
maxIterI
),
epsilon
(
epsilonI
),
step
(
stepI
){}
};
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