44 RegisterCreatorFunction(
"Programmatic",
46 "Programmatic Forcing");
60 const Array<OneD, MultiRegions::ExpListSharedPtr>& pFields,
61 const unsigned int& pNumForcingFields,
62 const TiXmlElement* pForce)
65 int nq = pFields[0]->GetTotPoints();
70 m_Forcing[i] = Array<OneD, NekDouble> (nq, 0.0);
75 const Array<OneD, MultiRegions::ExpListSharedPtr> &fields,
76 const Array<
OneD, Array<OneD, NekDouble> > &inarray,
77 Array<
OneD, Array<OneD, NekDouble> > &outarray,
82 Vmath::Vadd(outarray[i].num_elements(), outarray[i], 1,