26 const ext::shared_ptr<FdmMesherComposite>& mesher,
27 const ext::function<
Real(
const Array&,
const Array&)>& integrator1d)
28 : meshers_(mesher->getFdm1dMeshers().begin(),
29 mesher->getFdm1dMeshers().end()),
30 integrator1d_(integrator1d) {
41 const ext::shared_ptr<FdmMesherComposite> subMesher(
43 std::vector<ext::shared_ptr<Fdm1dMesher> >(
47 const Size subSize = subMesher->layout()->size();
52 std::copy(
f.begin() + i *subSize,
53 f.begin() + (i+1)*subSize, fSub.
begin());
1-D array used in linear algebra.
Size size() const
dimension of the array
const_iterator begin() const
const ext::function< Real(const Array &, const Array &)> & integrator1d_
Real integrate(const Array &f) const
const std::vector< ext::shared_ptr< Fdm1dMesher > > meshers_
FdmMesherIntegral(const ext::shared_ptr< FdmMesherComposite > &mesher, const ext::function< Real(const Array &, const Array &)> &integrator1d)
memory layout of a fdm linear operator
mesher based integral over target function.
std::size_t Size
size of a container