Go to the source code of this file.
◆ validParams< PorousFlowLineGeometry >()
Definition at line 17 of file PorousFlowLineGeometry.C.
19 InputParameters params = validParams<DiracKernel>();
20 params.addRequiredParam<std::string>(
22 "The file containing the coordinates of the points and their weightings that approximate the "
23 "line sink. The physical meaning of the weightings depend on the scenario, eg, they may be "
24 "borehole radii. Each line in the file must contain a space-separated weight and "
25 "coordinate, viz r x y z. For boreholes, the last point in the file is defined as the "
26 "borehole bottom, where the borehole pressure is bottom_pressure. If your file contains "
27 "just one point, you must also specify the line_length and line_direction parameters. Note "
28 "that you will get segementation faults if your points do not lie within your mesh!");
29 params.addRangeCheckedParam<Real>(
33 "Line length. Note this is only used if there is only one point in the point_file.");
34 params.addParam<RealVectorValue>(
36 RealVectorValue(0.0, 0.0, 1.0),
37 "Line direction. Note this is only used if there is only one point in the point_file.");
38 params.addClassDescription(
"Approximates a polyline sink in the mesh using a number of Dirac "
39 "point sinks with given weightings that are read from a file");
Referenced by validParams< PorousFlowLineSink >().