Skip to content
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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

timovanopstal
Copy link
Contributor

Extend the merged #83 to mixed bases.

Changes are more extensive than anticipated: I'll probably have to work in ASMmxBase::establishBases() too.

@@ -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; }
Copy link
Member

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)
Copy link
Member

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.

@@ -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; }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants