aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2023-08-01 04:07:07 +0200
committerGravatar GitHub <noreply@github.com> 2023-08-01 02:07:07 +0000
commit862df560823cedaf08b67cbee527ed9bedc79683 (patch)
tree926a8150bd40517abca1a1c5ad9bfaac0349bf1f /Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp
parent31199f61b1526f61e64d9ff3122298c08d50b81f (diff)
downloadWarpX-862df560823cedaf08b67cbee527ed9bedc79683.tar.gz
WarpX-862df560823cedaf08b67cbee527ed9bedc79683.tar.zst
WarpX-862df560823cedaf08b67cbee527ed9bedc79683.zip
Move GotoNextLine helper function into ablastr (#4139)
* move GotoNextLine helper function into ablastr * fixed bug * Update Source/ablastr/utils/text/StreamUtils.H Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp')
-rw-r--r--Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp b/Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp
index d530cb091..9f4976c20 100644
--- a/Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp
+++ b/Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp
@@ -7,7 +7,8 @@
#include "BTD_Plotfile_Header_Impl.H"
#include "Utils/TextMsg.H"
-#include "WarpX.H"
+
+#include <ablastr/utils/text/StreamUtils.H>
#include <AMReX.H>
#include <AMReX_FileSystem.H>
@@ -71,7 +72,7 @@ BTDPlotfileHeaderImpl::ReadHeaderData ()
for (int idim = 0; idim < m_spacedim; ++idim) {
is >> m_prob_hi[idim];
}
- WarpX::GotoNextLine(is);
+ ablastr::utils::text::goto_next_line(is);
is >> m_prob_domain;
@@ -232,7 +233,7 @@ BTDMultiFabHeaderImpl::ReadMultiFabHeader ()
for (int ifab = 0; ifab < m_ba.size(); ++ifab) {
is >> m_FabOnDiskPrefix[ifab] >> m_fabname[ifab] >> m_fabhead[ifab];
}
- WarpX::GotoNextLine(is);
+ ablastr::utils::text::goto_next_line(is);
char ch;
is >> in_hash >> ch >> in_hash;
m_minval.resize(m_ba.size());
@@ -243,7 +244,7 @@ BTDMultiFabHeaderImpl::ReadMultiFabHeader ()
if( ch != ',' ) amrex::Error("Expected a ',' got something else");
}
}
- WarpX::GotoNextLine(is);
+ ablastr::utils::text::goto_next_line(is);
is >> in_hash >> ch >> in_hash;
m_maxval.resize(m_ba.size());
for (int ifab = 0; ifab < m_ba.size(); ++ifab) {
j'>feat/style-obj Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/examples/framework-multiple/src/components/index.ts (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2023-11-27Remove support for simple objects in endpoints (#9181)Gravatar Bjorn Lu 56-529/+206
2023-11-28Remove shiki lang path property support (#9196)Gravatar Bjorn Lu 7-427/+22
2023-11-28Remove deprecated features from Astro 3.0 (#9168)Gravatar Bjorn Lu 47-398/+95
2023-11-28Remove deprecated markdown-remark APIs (#9182)Gravatar Bjorn Lu 4-59/+7
2023-11-27[ci] release (#9180)astro@3.6.1Gravatar Houston (Bot) 32-65/+63
2023-11-24Remove vercel deprecated analytics option (#9184)Gravatar Bjorn Lu 3-30/+12
2023-11-24[ci] formatGravatar Guspan Tanadi 1-2/+1
2023-11-24style: highlight markdown Tip Note section CONTRIBUTING (#9123)Gravatar Guspan Tanadi 1-5/+7
2023-11-23fix scroll restoration issue on webKit browsers (#9186)Gravatar Martin Trapp 2-1/+7
2023-11-23fix(middleware): rename internal middleware id (#9173)Gravatar Arsh 2-1/+6
2023-11-23fix: Changelog formatting for 3.6.0 View Transition events (#9176)Gravatar Martin Trapp 1-3/+3
2023-11-22[ci] formatGravatar Eva Decker 1-3/+3
2023-11-22Fix View Transitions code block formatting (#9174)Gravatar Eva Decker 1-3/+3
2023-11-22Rename entryPoint to entrypoint (#9161)Gravatar Bjorn Lu 14-26/+38
2023-11-22Fix esbuild warning for local dev (#9160)Gravatar Bjorn Lu 1-1/+1
2023-11-22[ci] release (#9165)astro@3.6.0Gravatar Houston (Bot) 34-90/+83