46 "Circular stimulus.");
64 const TiXmlElement* pXml)
69 m_nq = pField->GetTotPoints();
76 const TiXmlElement *pXmlparameter;
78 pXmlparameter = pXml->FirstChildElement(
"p_x1");
79 m_px1 = atof(pXmlparameter->GetText());
81 pXmlparameter = pXml->FirstChildElement(
"p_y1");
82 m_py1 = atof(pXmlparameter->GetText());
84 pXmlparameter = pXml->FirstChildElement(
"p_z1");
85 m_pz1 = atof(pXmlparameter->GetText());
87 pXmlparameter = pXml->FirstChildElement(
"p_r1");
88 m_pr1 = atof(pXmlparameter->GetText());
90 pXmlparameter = pXml->FirstChildElement(
"p_is");
91 m_pis = atof(pXmlparameter->GetText());
93 pXmlparameter = pXml->FirstChildElement(
"p_strength");
115 int dim =
m_field->GetCoordim(0);
118 int nq =
m_field->GetNpoints();
119 Array<OneD,NekDouble> x0(nq);
120 Array<OneD,NekDouble> x1(nq);
121 Array<OneD,NekDouble> x2(nq);
132 for(
int j=0; j<nq; j++)
134 outarray[0][j] += v_amp
141 for(
int j=0; j<nq; j++)
143 outarray[0][j] += v_amp
152 for(
int j=0; j<nq; j++)
154 outarray[0][j] += v_amp