gsCore

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

Function Documentation

Gismo.actives — Method

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.basis — Method

Returns the basis of a geometry

Arguments

  • obj::Geometry: a Gismo Geometry
source
Gismo.basis — Method

Returns the basus of a MultiBasis

Arguments

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

Returns the coefficients of a MultiPatch

Arguments

  • obj::MultiPatch: a Gismo MultiPatch
source
Gismo.closest — Function

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.coefs — Method

Returns the coefficients of a geometry

Arguments

  • obj::Geometry: a Gismo Geometry
source
Gismo.component — Method

Returns the component of a basis

Arguments

  • obj::Basis: a Gismo Basis
  • i::Int: the index of the component
source
Gismo.degree — Method

Returns the degree of a basis

Arguments

  • obj::Basis: a Gismo Basis
  • i::Int: the index of the component
source
Gismo.deriv — Method

Returns the derivative of a basis

Arguments

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

Returns the derivative of a geometry

Arguments

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

Returns the second derivative of a basis

Arguments

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

Returns the second derivative of a geometry

Arguments

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

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.derivSingle — Method

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.domainDim — Method

Returns the domain dimension of a basis

Arguments

  • object::Basis: a Gismo Basis
source
Gismo.domainDim — Method

Return the domain dimension of a geometry

Arguments

  • object::Geometry: a Gismo Geometry
source
Gismo.domainDim — Method

Adds a patch to a MultiPatch

Arguments

  • obj::MultiPatch: a Gismo MultiPatch
  • geom::Geometry: a Gismo Geometry
source
Gismo.evalSingle — Method

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.invertPoints — Function

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.normal — Method

Returns the normal of a geometry

Arguments

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

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.size — Method

Returns the size of a basis

Arguments

  • obj::Basis: a Gismo Basis
source
Gismo.size — Method

Returns the size of a MultiPatch (number of patches)

Arguments

  • obj::MultiPatch: a Gismo MultiPatch
source
Gismo.targetDim — Method

Returns the target dimension of a basis

Arguments

  • object::Basis: a Gismo Basis
source
Gismo.targetDim — Method

Returns the target dimension of a geometry

Arguments

  • object::Geometry: a Gismo Geometry
source
Gismo.targetDim — Method

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.val — Method

Returns the evaluation of a basis

Arguments

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

Returns the evaluation of a geometry

Arguments

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