Move 2d and 3d plugin force computation to elasticity.h.
Change physical properties of `floppy_flex.xml` to resemble `floppy.xml`. Make `Membrane` backward compatible with `Composite`. PiperOrigin-RevId: 577190384 Change-Id: I5bc56ec62faa134156e839bec45d685c22eba5c4
This commit is contained in:
committed by
Copybara-Service
parent
f8c5ad2ba8
commit
40d927c9fa
@@ -64,8 +64,10 @@ int CreateStencils(std::vector<T>& elements,
|
||||
elements[t].edges[e] = it->second;
|
||||
}
|
||||
|
||||
if (!edgeidx.empty()) {
|
||||
assert(elements[t].edges[e] == edgeidx[T::kNumEdges*t+e]);
|
||||
if (!edgeidx.empty()) { // SHOULD NOT OCCUR
|
||||
if (elements[t].edges[e] != edgeidx[T::kNumEdges*t+e]) {
|
||||
mju_error("edge ordering is incoherent between flex and plugin");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user