Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computing
cbmroot
Commits
fc5a2760
Commit
fc5a2760
authored
4 months ago
by
Sergei Zharko
Browse files
Options
Downloads
Patches
Plain Diff
KF, KfField.h: unused function FieldBase::MakeFieldRegion is removed
parent
ebcffbaa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1948
KF, KfField.h: unused function FieldBase::MakeFieldRegion is removed
Checking pipeline status
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
algo/kf/core/geo/KfField.h
+0
-18
0 additions, 18 deletions
algo/kf/core/geo/KfField.h
with
0 additions
and
18 deletions
algo/kf/core/geo/KfField.h
+
0
−
18
View file @
fc5a2760
...
...
@@ -84,9 +84,6 @@ namespace cbm::algo::kf
/// \brief Gets number of field slices in the instance
int
GetNofFieldSlices
()
const
{
return
fvFieldSliceZ
.
size
();
}
/// \brief Makes field region
FieldRegion
<
T
>
MakeFieldRegion
(
EFieldType
fldType
)
const
{
return
FieldRegion
(
fldType
,
fFieldFn
);
}
/// \brief Removes a field slice
/// \param iLayer Index of field slice
void
RemoveSlice
(
int
iLayer
)
{
fvFieldSliceZ
.
erase
(
fvFieldSliceZ
.
begin
()
+
iLayer
);
}
...
...
@@ -160,21 +157,6 @@ namespace cbm::algo::kf
/// \brief Gets number of field slices in the instance
int
GetNofFieldSlices
()
const
{
return
fvFieldSlices
.
size
();
}
/// \brief Creates field region object
/// \brief fldType FieldType
/// \param b0 Field value in the first node [kG]
/// \param z0 First node z-coordinate [cm]
/// \param b1 Field value in the first node [kG]
/// \param z1 Second node z-coordinate [cm]
/// \param b2 Field value in the first node [kG]
/// \param z2 Third node z-coordinate [cm]
FieldRegion
<
T
>
MakeFieldRegion
(
EFieldType
fldType
,
const
FieldValue
<
T
>&
b0
,
const
T
&
z0
,
const
FieldValue
<
T
>&
b1
,
const
T
&
z1
,
const
FieldValue
<
T
>&
b2
,
const
T
&
z2
)
const
{
return
FieldRegion
<
T
>
(
fldType
,
b0
,
z0
,
b1
,
z1
,
b2
,
z2
);
}
/// \brief Removes a field slice
/// \param iLayer Index of field slice
void
RemoveSlice
(
int
iLayer
)
{
fvFieldSlices
.
erase
(
fvFieldSlices
.
begin
()
+
iLayer
);
}
...
...
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