Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=rk), | private, | allocatable | :: | Wc(:) |
Weights for control points (1D array: [nc(1)*nc(2)]) |
||
real(kind=rk), | private, | allocatable | :: | Xc(:,:) |
Control points (2D array: [nc(1)*nc(2), dim]) |
||
real(kind=rk), | private, | allocatable | :: | Xg(:,:) |
Geometry points (2D array: [ng(1)*ng(2), dim]) |
||
real(kind=rk), | private, | allocatable | :: | Xt(:,:) |
Evaluation parameter values (2D array: [ng(1)*ng(2), 2]) |
||
real(kind=rk), | private, | allocatable | :: | Xt1(:) |
Evaluation parameter values in the first direction (1D array: [ng(1)]) |
||
real(kind=rk), | private, | allocatable | :: | Xt2(:) |
Evaluation parameter values in the second direction (1D array: [ng(2)]) |
||
integer, | private | :: | degree(2) |
Degree (order) of the surface |
|||
integer, | private, | allocatable | :: | elemConn(:,:) |
IGA element connectivity |
||
integer, | private, | allocatable | :: | elemConn_Xc_vis(:,:) |
Connectivity for visualization of control points |
||
integer, | private, | allocatable | :: | elemConn_Xg_vis(:,:) |
Connectivity for visualization of geometry points |
||
real(kind=rk), | private, | allocatable | :: | knot1(:) |
Knot vector in the first direction (1D array) |
||
real(kind=rk), | private, | allocatable | :: | knot2(:) |
Knot vector in the second direction (1D array) |
||
integer, | private | :: | nc(2) |
Number of control points in each direction |
|||
integer, | private | :: | ng(2) |
Number of geometry points in each direction |
Compute the shape functions, derivative of shape functions and dA
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in) | :: | ie | |||
integer, | intent(in) | :: | ig | |||
real(kind=rk), | intent(out), | allocatable | :: | Tgc(:) | ||
real(kind=rk), | intent(out), | allocatable | :: | dTgc_dXg(:,:) | ||
real(kind=rk), | intent(out) | :: | dA |
Compute the basis functions of the NURBS surface
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | optional | :: | res1 | ||
integer, | intent(in), | optional | :: | res2 | ||
real(kind=rk), | intent(in), | optional, | contiguous | :: | Xt1(:) | |
real(kind=rk), | intent(in), | optional, | contiguous | :: | Xt2(:) | |
real(kind=rk), | intent(out), | allocatable | :: | Tgc(:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in) | :: | Xt(:) | |||
real(kind=rk), | intent(out), | allocatable | :: | Tgc(:) |
Compute geometry points
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
real(kind=rk), | intent(in), | contiguous | :: | Xt(:) |
Compute the area of the NURBS surface
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(out) | :: | area |
Compute degree of the NURBS surface
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | optional | :: | dir |
Generate IGA element connectivity
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this |
Generate connectivity for control points
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in), | optional, | contiguous | :: | p(:) |
Generate connectivity for geometry points
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in), | optional, | contiguous | :: | p(:) |
Compute number of required control points
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | optional | :: | dir |
Generate geometry points
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | optional | :: | res1 | ||
integer, | intent(in), | optional | :: | res2 | ||
real(kind=rk), | intent(in), | optional, | contiguous | :: | Xt1(:) | |
real(kind=rk), | intent(in), | optional, | contiguous | :: | Xt2(:) | |
real(kind=rk), | intent(in), | optional, | contiguous | :: | Xt(:,:) |
Compute the derivative of the NURBS surface
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | optional | :: | res1 | ||
integer, | intent(in), | optional | :: | res2 | ||
real(kind=rk), | intent(in), | optional, | contiguous | :: | Xt1(:) | |
real(kind=rk), | intent(in), | optional, | contiguous | :: | Xt2(:) | |
real(kind=rk), | intent(out), | allocatable | :: | dTgc(:,:,:) | ||
real(kind=rk), | intent(out), | optional, | allocatable | :: | Tgc(:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | contiguous | :: | Xt(:) | ||
real(kind=rk), | intent(out), | allocatable | :: | dTgc(:,:) | ||
real(kind=rk), | intent(out), | optional, | allocatable | :: | Tgc(:) | |
integer, | intent(in), | optional | :: | elem(:) |
Compute the second derivative of the NURBS surface
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | optional | :: | res1 | ||
integer, | intent(in), | optional | :: | res2 | ||
real(kind=rk), | intent(in), | optional, | contiguous | :: | Xt1(:) | |
real(kind=rk), | intent(in), | optional, | contiguous | :: | Xt2(:) | |
real(kind=rk), | intent(out), | allocatable | :: | d2Tgc(:,:,:) | ||
real(kind=rk), | intent(out), | optional, | allocatable | :: | dTgc(:,:,:) | |
real(kind=rk), | intent(out), | optional, | allocatable | :: | Tgc(:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | contiguous | :: | Xt(:) | ||
real(kind=rk), | intent(out), | allocatable | :: | d2Tgc(:,:) | ||
real(kind=rk), | intent(out), | optional, | allocatable | :: | dTgc(:,:) | |
real(kind=rk), | intent(out), | optional, | allocatable | :: | Tgc(:) |
Elevate degree
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in) | :: | dir | |||
integer, | intent(in) | :: | t |
Export control points to VTK file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
character(len=*), | intent(in) | :: | filename |
Export geometry points to VTK file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
character(len=*), | intent(in) | :: | filename |
Finalize the NURBS surface object
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this |
Get weights
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | n |
Get control points
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | n |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | n | |||
integer, | intent(in) | :: | dir |
Get geometry points
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | n |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | n | |||
integer, | intent(in) | :: | dir |
Get parameter values
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | dir |
Compute and return the continuity of the NURBS surface
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | dir |
Get degree of the NURBS surface
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | dir |
Get IGA element connectivity
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this |
Get connectivity for control points
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this |
Get connectivity for geometry points
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this |
Get knot vector
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | dir | |||
integer, | intent(in) | :: | i |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | dir |
Compute and return the multiplicity of the knot vector
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | dir |
Get number of control points
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | dir |
Get number of geometry points
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this |
Insert knots into the knot vector
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in) | :: | dir | |||
real(kind=rk), | intent(in), | contiguous | :: | Xth(:) | ||
integer, | intent(in), | contiguous | :: | r(:) |
Check if the NURBS surface is rational
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this |
Modify weights
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in) | :: | W | |||
integer, | intent(in) | :: | num |
Modify control points
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in) | :: | X | |||
integer, | intent(in) | :: | num | |||
integer, | intent(in) | :: | dir |
Find the nearest point on the NURBS surface (Approximation)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
real(kind=rk), | intent(in) | :: | point_Xg(:) | |||
real(kind=rk), | intent(out), | optional, | allocatable | :: | nearest_Xg(:) | |
real(kind=rk), | intent(out), | optional, | allocatable | :: | nearest_Xt(:) | |
integer, | intent(out), | optional | :: | id |
Find the nearest point on the NURBS surface (Minimization - Newton's method)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in) | :: | point_Xg(:) | |||
real(kind=rk), | intent(in) | :: | tol | |||
integer, | intent(in) | :: | maxit | |||
real(kind=rk), | intent(out) | :: | nearest_Xt(2) | |||
real(kind=rk), | intent(out), | optional, | allocatable | :: | nearest_Xg(:) |
Remove knots from the knot vector
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in) | :: | dir | |||
real(kind=rk), | intent(in), | contiguous | :: | Xth(:) | ||
integer, | intent(in), | contiguous | :: | r(:) |
Rotate control points
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in) | :: | alpha | |||
real(kind=rk), | intent(in) | :: | beta | |||
real(kind=rk), | intent(in) | :: | theta |
Rotate geometry points
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in) | :: | alpha | |||
real(kind=rk), | intent(in) | :: | beta | |||
real(kind=rk), | intent(in) | :: | theta |
Set NURBS surface
Set knot vectors, control points and weights for the NURBS surface object.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | contiguous | :: | knot1(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | knot2(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | Xc(:,:) | ||
real(kind=rk), | intent(in), | optional, | contiguous | :: | Wc(:) |
Set NURBS surface using nodes of parameter space, degree, continuity, control points and weights
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | contiguous | :: | Xth_dir1(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | Xth_dir2(:) | ||
integer, | intent(in), | contiguous | :: | degree(:) | ||
integer, | intent(in), | contiguous | :: | continuity1(:) | ||
integer, | intent(in), | contiguous | :: | continuity2(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | Xc(:,:) | ||
real(kind=rk), | intent(in), | optional, | contiguous | :: | Wc(:) |
Set Bezier or Rational Bezier surface using control points and weights.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | contiguous | :: | nc(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | Xc(:,:) | ||
real(kind=rk), | intent(in), | optional, | contiguous | :: | Wc(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | contiguous | :: | degree(:) | ||
integer, | intent(in), | contiguous | :: | nc(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | Xc(:,:) | ||
real(kind=rk), | intent(in), | optional, | contiguous | :: | Wc(:) |
Set knot vectors, control points and weights for the NURBS surface object
Set knot vectors, control points and weights for the NURBS surface object.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | contiguous | :: | knot1(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | knot2(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | Xc(:,:) | ||
real(kind=rk), | intent(in), | optional, | contiguous | :: | Wc(:) |
Set NURBS surface using nodes of parameter space, degree, continuity, control points and weights
Set NURBS surface using nodes of parameter space, degree, continuity, control points and weights
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | contiguous | :: | Xth_dir1(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | Xth_dir2(:) | ||
integer, | intent(in), | contiguous | :: | degree(:) | ||
integer, | intent(in), | contiguous | :: | continuity1(:) | ||
integer, | intent(in), | contiguous | :: | continuity2(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | Xc(:,:) | ||
real(kind=rk), | intent(in), | optional, | contiguous | :: | Wc(:) |
Set Bezier or Rational Bezier surface using control points and weights
Set Bezier or Rational Bezier surface using control points and weights.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | contiguous | :: | nc(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | Xc(:,:) | ||
real(kind=rk), | intent(in), | optional, | contiguous | :: | Wc(:) |
Set NURBS surface using degree, number of control points, control points and weights
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | contiguous | :: | degree(:) | ||
integer, | intent(in), | contiguous | :: | nc(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | Xc(:,:) | ||
real(kind=rk), | intent(in), | optional, | contiguous | :: | Wc(:) |
Set a C-shape
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | contiguous | :: | center(:) | ||
real(kind=rk), | intent(in) | :: | radius1 | |||
real(kind=rk), | intent(in) | :: | radius2 |
Set IGA element connectivity
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | contiguous | :: | elemConn(:,:) |
Set connectivity for control points
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | contiguous | :: | elemConn(:,:) |
Set connectivity for geometry points
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | contiguous | :: | elemConn(:,:) |
Set a half ring
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | contiguous | :: | center(:) | ||
real(kind=rk), | intent(in) | :: | radius1 | |||
real(kind=rk), | intent(in) | :: | radius2 |
Set a ring
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | contiguous | :: | center(:) | ||
real(kind=rk), | intent(in) | :: | radius1 | |||
real(kind=rk), | intent(in) | :: | radius2 |
Set a tetragon
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in) | :: | L(2) | |||
integer, | intent(in) | :: | nc(2) | |||
real(kind=rk), | intent(in), | optional, | contiguous | :: | Wc(:) |
Show the NURBS object using PyVista
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | vtkfile_Xc | |||
character(len=*), | intent(in) | :: | vtkfile_Xg |
Translate control points
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in) | :: | vec(:) |
Translate geometry points
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in) | :: | vec(:) |
Compute the basis functions of the NURBS surface
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in) | :: | Xt(:) | |||
real(kind=rk), | intent(out), | allocatable | :: | Tgc(:) |
Compute the basis functions of the NURBS surface
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | optional | :: | res1 | ||
integer, | intent(in), | optional | :: | res2 | ||
real(kind=rk), | intent(in), | optional, | contiguous | :: | Xt1(:) | |
real(kind=rk), | intent(in), | optional, | contiguous | :: | Xt2(:) | |
real(kind=rk), | intent(out), | allocatable | :: | Tgc(:,:) |
Compute the second derivative of the NURBS surface
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | contiguous | :: | Xt(:) | ||
real(kind=rk), | intent(out), | allocatable | :: | d2Tgc(:,:) | ||
real(kind=rk), | intent(out), | optional, | allocatable | :: | dTgc(:,:) | |
real(kind=rk), | intent(out), | optional, | allocatable | :: | Tgc(:) |
Compute the second derivative of the NURBS surface
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | optional | :: | res1 | ||
integer, | intent(in), | optional | :: | res2 | ||
real(kind=rk), | intent(in), | optional, | contiguous | :: | Xt1(:) | |
real(kind=rk), | intent(in), | optional, | contiguous | :: | Xt2(:) | |
real(kind=rk), | intent(out), | allocatable | :: | d2Tgc(:,:,:) | ||
real(kind=rk), | intent(out), | optional, | allocatable | :: | dTgc(:,:,:) | |
real(kind=rk), | intent(out), | optional, | allocatable | :: | Tgc(:,:) |
Compute the derivative of the NURBS surface
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | contiguous | :: | Xt(:) | ||
real(kind=rk), | intent(out), | allocatable | :: | dTgc(:,:) | ||
real(kind=rk), | intent(out), | optional, | allocatable | :: | Tgc(:) | |
integer, | intent(in), | optional | :: | elem(:) |
Compute the derivative of the NURBS surface
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | optional | :: | res1 | ||
integer, | intent(in), | optional | :: | res2 | ||
real(kind=rk), | intent(in), | optional, | contiguous | :: | Xt1(:) | |
real(kind=rk), | intent(in), | optional, | contiguous | :: | Xt2(:) | |
real(kind=rk), | intent(out), | allocatable | :: | dTgc(:,:,:) | ||
real(kind=rk), | intent(out), | optional, | allocatable | :: | Tgc(:,:) |
Get all weights
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this |
Get i-th weight
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | n |
Get all control points
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this |
Get i-th control point
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | n |
Get i-th control point in a specific direction
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | n | |||
integer, | intent(in) | :: | dir |
Get all geometry points
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this |
Get i-th geometry point
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | n |
Get i-th geometry point in a specific direction
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | n | |||
integer, | intent(in) | :: | dir |
Get degree of the NURBS surface in both directions
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this |
Get degree of the NURBS surface in a specific direction
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | dir |
Get all knot vectors
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | dir |
Get i-th knot value
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | dir | |||
integer, | intent(in) | :: | i |
Get number of control points in all directions
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this |
Get number of control points in a specific direction
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | dir |