gsCore

The methods in gsCore contain basis, geometry and function methods.

Function Documentation

Gismo.activesMethod

Returns the actives of a basis

Arguments

  • obj::Basis: a Gismo Basis
  • u::Matrix{Cdouble}: a matrix of points
source
Gismo.addPatch!Method

Returns the basis of a MultiPatch

Arguments

  • obj::MultiPatch: a Gismo MultiPatch
source
Gismo.basisMethod

Returns the basis of a geometry

Arguments

  • obj::Geometry: a Gismo Geometry
source
Gismo.basisMethod

Returns the basus of a MultiBasis

Arguments

  • obj::MultiBasis: a Gismo MultiBasis
  • i::Int: the index of the basis
source
Gismo.basisMethod

Returns the coefficients of a MultiPatch

Arguments

  • obj::MultiPatch: a Gismo MultiPatch
source
Gismo.closestFunction

Returns the closest point of a geometry

Arguments

  • obj::Geometry: a Gismo Geometry
  • x::Matrix{Cdouble}: a matrix of points
  • accuracy::Cdouble=1e-6: the accuracy of the computation
source
Gismo.coefsMethod

Returns the coefficients of a geometry

Arguments

  • obj::Geometry: a Gismo Geometry
source
Gismo.componentMethod

Returns the component of a basis

Arguments

  • obj::Basis: a Gismo Basis
  • i::Int: the index of the component
source
Gismo.degreeMethod

Returns the degree of a basis

Arguments

  • obj::Basis: a Gismo Basis
  • i::Int: the index of the component
source
Gismo.derivMethod

Returns the derivative of a basis

Arguments

  • obj::Basis: a Gismo Basis
  • u::Matrix{Cdouble}: a matrix of points
source
Gismo.derivMethod

Returns the derivative of a geometry

Arguments

  • obj::Geometry: a Gismo Geometry
  • u::Matrix{Cdouble}: a matrix of points
source
Gismo.deriv2Method

Returns the second derivative of a basis

Arguments

  • obj::Basis: a Gismo Basis
  • u::Matrix{Cdouble}: a matrix of points
source
Gismo.deriv2Method

Returns the second derivative of a geometry

Arguments

  • obj::Geometry: a Gismo Geometry
  • u::Matrix{Cdouble}: a matrix of points
source
Gismo.deriv2SingleMethod

Returns the second derivative of a single basis function

Arguments

  • obj::Basis: a Gismo Basis
  • i::Int: the index of the basis function
  • u::Matrix{Cdouble}: a matrix of points
source
Gismo.derivSingleMethod

Returns the derivative of a single basis function

Arguments

  • obj::Basis: a Gismo Basis
  • i::Int: the index of the basis function
  • u::Matrix{Cdouble}: a matrix of points
source
Gismo.domainDimMethod

Returns the domain dimension of a basis

Arguments

  • object::Basis: a Gismo Basis
source
Gismo.domainDimMethod

Return the domain dimension of a geometry

Arguments

  • object::Geometry: a Gismo Geometry
source
Gismo.domainDimMethod

Adds a patch to a MultiPatch

Arguments

  • obj::MultiPatch: a Gismo MultiPatch
  • geom::Geometry: a Gismo Geometry
source
Gismo.evalSingleMethod

Returns the evaluation of a single basis function

Arguments

  • obj::Basis: a Gismo Basis
  • i::Int: the index of the basis function
  • u::Matrix{Cdouble}: a matrix of points
source
Gismo.invertPointsFunction

Inverts a set of points

Arguments

  • obj::Geometry: a Gismo Geometry
  • x::Matrix{Cdouble}: a matrix of points
  • accuracy::Cdouble=1e-6: the accuracy of the computation
source
Gismo.normalMethod

Returns the normal of a geometry

Arguments

  • obj::Geometry: a Gismo Geometry
  • u::Matrix{Cdouble}: a matrix of points
source
Gismo.patchMethod

Returns the coefficients of a MultiPatch

Arguments

  • obj::MultiPatch: a Gismo MultiPatch
  • i::Int: the index of the patch
source
Gismo.refine!Function

Refines a basis

Arguments

  • obj::Basis: a Gismo Basis
  • boxes::Matrix{Cdouble}: the boxes to refine (first column is the lower bound, second column is the upper bound)
  • refExt::Int=Int(0): the refinement extension
source
Gismo.refineElements!Method

Refines a basis

Arguments

  • obj::Basis: a Gismo Basis
  • boxes::Vector{Cint}: the boxes to refine (in index format)
source
Gismo.sizeMethod

Returns the size of a basis

Arguments

  • obj::Basis: a Gismo Basis
source
Gismo.sizeMethod

Returns the size of a MultiPatch (number of patches)

Arguments

  • obj::MultiPatch: a Gismo MultiPatch
source
Gismo.targetDimMethod

Returns the target dimension of a basis

Arguments

  • object::Basis: a Gismo Basis
source
Gismo.targetDimMethod

Returns the target dimension of a geometry

Arguments

  • object::Geometry: a Gismo Geometry
source
Gismo.targetDimMethod

Returns the target dimension of a MultiPatch

Arguments

  • object::MultiPatch: a Gismo MultiPatch
source
Gismo.uniformRefine!Function

Refines a basis

Arguments

  • obj::Basis: a Gismo Basis
  • numKnots::Int=Int(1): the number of knots to add
  • mul::Int=Int(1): the multiplicity of the knots
  • dir::Int=Int(-1): the direction of the refinement
source
Gismo.valMethod

Returns the evaluation of a basis

Arguments

  • obj::Basis: a Gismo Basis
  • u::Matrix{Cdouble}: a matrix of points
source
Gismo.valMethod

Returns the evaluation of a geometry

Arguments

  • obj::Geometry: a Gismo Geometry
  • u::Matrix{Cdouble}: a matrix of points
source