Skip to content
Snippets Groups Projects
Commit e4b61514 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent 546bbfb2
No related branches found
No related tags found
No related merge requests found
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
class distanceTerm : public helmholtzTerm<double> { class distanceTerm : public helmholtzTerm<double> {
public: public:
distanceTerm(GModel *gm, int iFieldR, int iFieldC, distanceTerm(GModel *gm, int iField, simpleFunction<double> *k,
simpleFunction<double> *k, simpleFunction<double> *a) simpleFunction<double> *a)
: helmholtzTerm<double>(gm, iFieldR, iFieldC, k, a) {} : helmholtzTerm<double>(gm, iField, iField, k, a) {}
void elementVector(SElement *se, fullVector<double> &m) const void elementVector(SElement *se, fullVector<double> &m) const
{ {
MElement *e = se->getMeshElement(); MElement *e = se->getMeshElement();
......
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
template<class scalar> template<class scalar>
class laplaceTerm : public helmholtzTerm<scalar> { class laplaceTerm : public helmholtzTerm<scalar> {
public: public:
laplaceTerm(GModel *gm, int iFieldR, simpleFunction<scalar> *k) laplaceTerm(GModel *gm, int iField, simpleFunction<scalar> *k)
: helmholtzTerm<scalar>(gm, iFieldR, iFieldR, k, 0) {} : helmholtzTerm<scalar>(gm, iField, iField, k, 0) {}
}; };
#endif #endif
Mesh.CharacteristicLengthFactor=0.5;
Geometry.Lines = 0;
Merge "reparam_input.msh";
CreateTopology;
Compound Line(1000)={1};
Compound Line(2000)={2};
Compound Line(3000)={3};
Compound Line(4000)={4};
Compound Surface(1000)={5};
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment