32 bool _parametric =
true)
34 patch(_patch), value(_value), point(1), parametric(_parametric)
42 bool _parametric =
true)
44 patch(_patch), value(_value), point(_point), parametric(_parametric)
68 typedef typename std::vector<pLoad> plContainer;
70 typedef typename std::vector<pLoad>::iterator iterator;
72 typedef typename std::vector<pLoad>::const_iterator const_iterator;
77 std::ostream &
print(std::ostream &os)
const
99 inline pLoad operator [] (
size_t i)
const {
return m_pointLoads[i]; }
100 inline pLoad & operator [] (
size_t i) {
return m_pointLoads[i]; }
102 void addLoad(
const gsVector<T> & _point,
103 const gsVector<T> & _value,
105 bool _parametric =
true)
107 m_pointLoads.push_back( pLoad(_point,_value,_patch,_parametric) );
110 void addLoad(
const gsVector<T> & _point,
113 bool _parametric =
true)
115 m_pointLoads.push_back( pLoad(_point,_value,_patch,_parametric) );
129{
return pls.
print(os); }
131#ifdef GISMO_WITH_PYBIND11
136 void pybind11_init_gsPointLoads(pybind11::module &m);
Class containing a set of points on a multi-patch isogeometric domain, together with boundary conditi...
Definition gsPointLoads.h:65
plContainer m_pointLoads
List of Point loads.
Definition gsPointLoads.h:122
gsPointLoads()
Default empty constructor.
Definition gsPointLoads.h:86
std::ostream & print(std::ostream &os) const
Prints the object as a string.
Definition gsPointLoads.h:77
A vector with arbitrary coefficient type and fixed or dynamic size.
Definition gsVector.h:37
The G+Smo namespace, containing all definitions for the library.
Struct defining a point together with a scalar or vector load.
Definition gsPointLoads.h:28