novahoogl.blogg.se

Multipatch patching accepted format
Multipatch patching accepted format









  1. Multipatch patching accepted format Patch#
  2. Multipatch patching accepted format Pc#

Refine uniformly all patches by inserting numKnots in each knot-span with multipliplicity mul. UniformRefine (int numKnots=1, int mul=1) More.Ĭhecks if all patch-interfaces are fully matching, and if not, repairs them, i.e., makes them fully matching. RepairInterface (const boundaryInterface &bi)Ĭhecks if the interface is fully matching, and if not, repairs it. Get coordinates of a central point of the the patchSide ps in the physical domain.

Multipatch patching accepted format Pc#

Get coordinates of the patchCorner pc in the physical domain. Returns the piece(s) of the function(s) at subdomain k. Returns a vector of patches // to do : replace by copies. Number of pieces in the domain of definition.Īssignment operator (uses copy-and-swap idiom)ĭimension of the parameter domain (must match for all patches).

Multipatch patching accepted format Patch#

LocatePoints (const gsMatrix &points, index_t pid1, gsVector &pid2, gsMatrix &preim) constįor each point in points located on patch pid1, locates the parametric coordinates of the point. LocatePoints (const gsMatrix &points, gsVector &pids, gsMatrix &preim, const T accuracy=1e-6) constįor each point in points, locates the parametric coordinates of the point. Is the given patch side ps set to an interface? Returns true if the multipatch object is a closed manifold (ie. Returns true if side s on patch p is a boundary. Is the given patch side ps set to a boundary? GsMultiPatch (PatchContainer & patches, const std::vector & boundary, const std::vector & interfaces)Ĭreate from patches and boundary/interface information. GetNeighbour (const patchSide &ps, patchSide &result, int &ii) const

multipatch patching accepted format

GetNeighbour (const patchSide &ps, patchSide &result) const Returns the maximal valence of a vertex of this topology. By default it preserves the size of bi.first() in that direction More. The optional scaling specifies the scaling of first() in the direction orthogonal to the interface. GetMapForInterface (const boundaryInterface &bi, T scaling=0) constĬonstruct the affine map that places bi.first() next to bi.second() and identifies the two matching sides. GetInterface (const patchSide &ps, boundaryInterface &result) const GetEVs (std::vector > &cornerLists) const GetCornerList (const patchCorner &start, std::vector &cornerList) const Helper which casts and returns the k-th piece of this function set as a gsFunction.ĭimension of the geometry (must match for all patches). Search for the given geometry and return its patch index. If n is -1 then no computation is performed.įindInterface (const index_t b1, const index_t b2) const More.Įval_into (const gsMatrix &u, gsMatrix &result) constĮvalAllDers_into (const gsMatrix &u, int n, std::vector > &result) constĮvaluate the nonzero functions and their derivatives up to order n. Prints the object as a string with extended details.ĭimension of the (source) domain. More.ĭeriv2_into (const gsMatrix &u, gsMatrix &result) constĭeriv_into (const gsMatrix &u, gsMatrix &result) const More.Įlevate the degree of all patches by elevationSteps.Įvaluates the second derivatives of active (i.e., non-zero) basis at points u. Return the number of coefficients (control points)Ĭompute (const gsMatrix &in, gsFuncData &out) constĬomputeTopology (T tol=1e-4, bool cornersOnly=false)Īttempt to compute interfaces and boundaries automatically. computeTopology() has been called.Ĭo-dimension of the geometry (must match for all patches). Assumes that the topology is computed, ie. Used to make a copy of the object.Īttempt to close gaps between the interfaces. Produceds a deep copy inside a uPtr.Ĭlone function. The output result is a matrix with two columns, corresponding to two points: the lower and upper corner of the bounding box.Ĭheck that boundaries and interfaces are consistent.Ĭlear all boxes, boundary and interface data.Ĭlone methode. Returns a bounding box for the multipatch domain. Helper which casts and returns the k-th piece of this function set as a gsBasis. Makes a deep copy of all bases and puts them in a vector.

multipatch patching accepted format

More.īasesCopy (bool numeratorOnly=false) const Returns all components representing the topology. More.ĪddInterface ( index_t p1, boxSide s1, index_t p2, boxSide s2)Īdd an interface between side s1 of box p1 and side s2 of box p2.ĪddPatchBoundary ( gsGeometry *g, boxSide s)Īdd side s of patch g to the outer boundary of the domain.ĪllComponents (bool combineCorners=false) const Make all patch sides which are not yet declared as interface or boundary to a boundary.ĪddInterface (const boundaryInterface &bi)ĪddInterface ( gsGeometry *g1, boxSide s1, gsGeometry *g2, boxSide s2)Īdd an interface joint between side s1 of geometry g1 side s2 of geometry g2. Indices of active (non-zero) function(s) for each point.

multipatch patching accepted format

More.Īctive_into (const gsMatrix &u, gsMatrix &result) const

multipatch patching accepted format

Returns the indices of active (nonzero) functions at points u, as a list of indices.











Multipatch patching accepted format