-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subdivision for mixed bases #102
base: master
Are you sure you want to change the base?
Conversation
@@ -115,6 +115,8 @@ class ASMs2D : public ASMstruct, public ASM2D | |||
//! \brief Returns the spline curve representing a boundary of this patch. | |||
//! \param[in] dir Parameter direction defining which boundary to return | |||
virtual Go::SplineCurve* getBoundary(int dir, int = 1); | |||
//! \brief Returns the number of bases. | |||
virtual size_t getNoBasis() const { return 1; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nei. denne sitter i ASMbase.
src/ASM/ASMs2D.C
Outdated
int n1, n2; | ||
if (!neighbor.getSize(n1,n2,basis)) return false; | ||
std::cout << "\tmaster coords:"; | ||
for (int i=1; i<=n1; ++i) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mest en fyi. #include "Vec3Oper.h" ogo du kan printe en vec3.
src/ASM/ASMbase.h
Outdated
@@ -165,6 +165,8 @@ class ASMbase | |||
virtual unsigned char getNoFields(int b = 0) const { return b > 1 ? 0 : nf; } | |||
//! \brief Returns the number of Lagrange multipliers per node. | |||
unsigned char getNoLagPerNode() const { return nLag; } | |||
//! \brief Returns the number of bases. | |||
virtual size_t getNoBasis() const { return 1; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we do not need another one! https://github.com/OPM/IFEM/blob/master/src/ASM/ASMbase.h#L235
c0cc0f1
to
b0a073e
Compare
ec5d58e
to
ee95e49
Compare
aa56dcb
to
ad7925c
Compare
a40a851
to
150484d
Compare
10b3603
to
981f187
Compare
71afb42
to
b4ac149
Compare
Extend the merged #83 to mixed bases.
Changes are more extensive than anticipated: I'll probably have to work in ASMmxBase::establishBases() too.