Go to the documentation of this file.
12 #include "DiracKernel.h"
49 std::vector<Real>
_rs;
52 std::vector<Real>
_xs;
55 std::vector<Real>
_ys;
58 std::vector<Real>
_zs;
PorousFlowLineGeometry(const InputParameters ¶meters)
Creates a new PorousFlowLineGeometry This reads the file containing the lines of the form weight x y ...
const std::string _point_file
File defining the geometry of the borehole.
std::vector< Real > _xs
x points of the borehole
std::vector< Real > _rs
Radii of the borehole.
virtual void addPoints() override
Add Dirac Points to the line sink.
Approximates a borehole by a sequence of Dirac Points.
InputParameters validParams< PorousFlowLineGeometry >()
Point _bottom_point
The bottom point of the borehole (where bottom_pressure is defined)
const Real _line_length
Line length. This is only used if there is only one borehole point.
bool parseNextLineReals(std::ifstream &ifs, std::vector< Real > &myvec)
Reads a space-separated line of floats from ifs and puts in myvec.
std::vector< Real > _zs
z points of borehole
std::vector< Real > _half_seg_len
0.5*(length of polyline segments between points)
const RealVectorValue _line_direction
Line direction. This is only used if there is only one borehole point.
std::vector< Real > _ys
y points of the borehole