BELFEM
0.9.0
Berkeley Lab Finite Element Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
cl_CsvFile.hpp
Go to the documentation of this file.
1
/*
2
* BELFEM -- The Berkeley Lab Finite Element Framework
3
* Copyright (c) 2026, The Regents of the University of California,
4
* through Lawrence Berkeley National Laboratory (subject to receipt of any required
5
* approvals from the U.S. Dept. of Energy). All rights reserved.
6
*
7
* Developers: Christian Messe, Gregory Giard
8
*
9
* See the top-level LICENSE file for the complete license and disclaimer.
10
*/
11
12
#ifndef BELFEM_CL_CSVFILE_HPP
13
#define BELFEM_CL_CSVFILE_HPP
14
#include "
cl_Ascii.hpp
"
15
#include "
cl_Matrix.hpp
"
16
17
namespace
belfem
18
{
25
class
CsvFile
:
public
Ascii
26
{
27
Matrix< real >
mData ;
28
29
public
:
30
31
CsvFile
(
const
string
& aPath,
const
char
aDelimiter=
','
);
32
33
const
Matrix< real >
&
data
()
const
{
return
mData; }
34
35
Matrix< real >
&
data
() {
return
mData; }
36
37
~CsvFile
()
override
;
38
};
39
}
40
#endif
//BELFEM_CL_CSVFILE_HPP
cl_Ascii.hpp
cl_Matrix.hpp
belfem::Ascii::Ascii
Ascii(const string &aPath, const enum FileMode &aMode)
Definition
cl_Ascii.cpp:25
belfem::CsvFile
CSV reader for numeric data.
Definition
cl_CsvFile.hpp:26
belfem::CsvFile::data
const Matrix< real > & data() const
Definition
cl_CsvFile.hpp:33
belfem::CsvFile::data
Matrix< real > & data()
Definition
cl_CsvFile.hpp:35
belfem::CsvFile::CsvFile
CsvFile(const string &aPath, const char aDelimiter=',')
Definition
cl_CsvFile.cpp:17
belfem::Matrix< real >
belfem
USER GUIDES:
Definition
cl_Capacitor.cpp:16
src
io
cl_CsvFile.hpp
Generated by
1.18.0