This module defines the 'nurbs_surface' type for representing a Non-Uniform Rational B-Spline (NURBS) surface.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | contiguous | :: | f_Xt(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot1(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot2(:) | ||
integer, | intent(in) | :: | f_degree(2) | |||
integer, | intent(in) | :: | f_nc(2) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | contiguous | :: | f_Xt(:,:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot1(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot2(:) | ||
integer, | intent(in) | :: | f_degree(2) | |||
integer, | intent(in) | :: | f_nc(2) | |||
integer, | intent(in) | :: | f_ng(2) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | contiguous | :: | f_Xt(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot1(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot2(:) | ||
integer, | intent(in) | :: | f_degree(2) | |||
integer, | intent(in) | :: | f_nc(2) | |||
real(kind=rk), | intent(in), | contiguous | :: | f_Wc(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | contiguous | :: | f_Xt(:,:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot1(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot2(:) | ||
integer, | intent(in) | :: | f_degree(2) | |||
integer, | intent(in) | :: | f_nc(2) | |||
integer, | intent(in) | :: | f_ng(2) | |||
real(kind=rk), | intent(in), | contiguous | :: | f_Wc(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | contiguous | :: | f_Xt(:,:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot1(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot2(:) | ||
integer, | intent(in) | :: | f_degree(2) | |||
integer, | intent(in) | :: | f_nc(2) | |||
integer, | intent(in) | :: | f_ng(2) | |||
real(kind=rk), | intent(in), | contiguous | :: | f_Xc(:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | contiguous | :: | f_Xt(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot1(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot2(:) | ||
integer, | intent(in) | :: | f_degree(2) | |||
integer, | intent(in) | :: | f_nc(2) | |||
real(kind=rk), | intent(in), | contiguous | :: | f_Xc(:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | contiguous | :: | f_Xt(:,:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot1(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot2(:) | ||
integer, | intent(in) | :: | f_degree(2) | |||
integer, | intent(in) | :: | f_nc(2) | |||
integer, | intent(in) | :: | f_ng(2) | |||
real(kind=rk), | intent(in), | contiguous | :: | f_Xc(:,:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_Wc(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | contiguous | :: | f_Xt(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot1(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot2(:) | ||
integer, | intent(in) | :: | f_degree(2) | |||
integer, | intent(in) | :: | f_nc(2) | |||
real(kind=rk), | intent(in), | contiguous | :: | f_Xc(:,:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_Wc(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | contiguous | :: | f_Xt(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot1(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot2(:) | ||
integer, | intent(in) | :: | f_degree(2) | |||
integer, | intent(in) | :: | nc(2) | |||
real(kind=rk), | intent(out), | allocatable | :: | f_d2Tgc(:,:) | ||
real(kind=rk), | intent(out), | allocatable | :: | f_dTgc(:,:) | ||
real(kind=rk), | intent(out), | allocatable | :: | f_Tgc(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | contiguous | :: | f_Xt(:,:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot1(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot2(:) | ||
integer, | intent(in) | :: | f_degree(2) | |||
integer, | intent(in) | :: | nc(2) | |||
integer, | intent(in) | :: | f_ng(2) | |||
real(kind=rk), | intent(out), | allocatable | :: | f_d2Tgc(:,:,:) | ||
real(kind=rk), | intent(out), | allocatable | :: | f_dTgc(:,:,:) | ||
real(kind=rk), | intent(out), | allocatable | :: | f_Tgc(:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | contiguous | :: | f_Xt(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot1(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot2(:) | ||
integer, | intent(in) | :: | f_degree(2) | |||
integer, | intent(in) | :: | f_nc(2) | |||
real(kind=rk), | intent(in), | contiguous | :: | f_Wc(:) | ||
real(kind=rk), | intent(out), | allocatable | :: | f_d2Tgc(:,:) | ||
real(kind=rk), | intent(out), | allocatable | :: | f_dTgc(:,:) | ||
real(kind=rk), | intent(out), | allocatable | :: | f_Tgc(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | contiguous | :: | f_Xt(:,:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot1(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot2(:) | ||
integer, | intent(in) | :: | f_degree(2) | |||
integer, | intent(in) | :: | f_nc(2) | |||
integer, | intent(in) | :: | f_ng(2) | |||
real(kind=rk), | intent(in), | contiguous | :: | f_Wc(:) | ||
real(kind=rk), | intent(out), | allocatable | :: | f_d2Tgc(:,:,:) | ||
real(kind=rk), | intent(out), | allocatable | :: | f_dTgc(:,:,:) | ||
real(kind=rk), | intent(out), | allocatable | :: | f_Tgc(:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | contiguous | :: | f_Xt(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot1(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot2(:) | ||
integer, | intent(in) | :: | f_degree(2) | |||
integer, | intent(in) | :: | nc(2) | |||
real(kind=rk), | intent(out), | allocatable | :: | f_dTgc(:,:) | ||
real(kind=rk), | intent(out), | allocatable | :: | f_Tgc(:) | ||
integer, | intent(in) | :: | elem(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | contiguous | :: | f_Xt(:,:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot1(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot2(:) | ||
integer, | intent(in) | :: | f_degree(2) | |||
integer, | intent(in) | :: | nc(2) | |||
integer, | intent(in) | :: | f_ng(2) | |||
real(kind=rk), | intent(out), | allocatable | :: | f_dTgc(:,:,:) | ||
real(kind=rk), | intent(out), | allocatable | :: | f_Tgc(:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | contiguous | :: | f_Xt(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot1(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot2(:) | ||
integer, | intent(in) | :: | f_degree(2) | |||
integer, | intent(in) | :: | f_nc(2) | |||
real(kind=rk), | intent(in), | contiguous | :: | f_Wc(:) | ||
real(kind=rk), | intent(out), | allocatable | :: | f_dTgc(:,:) | ||
real(kind=rk), | intent(out), | allocatable | :: | f_Tgc(:) | ||
integer, | intent(in) | :: | elem(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | contiguous | :: | f_Xt(:,:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot1(:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_knot2(:) | ||
integer, | intent(in) | :: | f_degree(2) | |||
integer, | intent(in) | :: | f_nc(2) | |||
integer, | intent(in) | :: | f_ng(2) | |||
real(kind=rk), | intent(in), | contiguous | :: | f_Wc(:) | ||
real(kind=rk), | intent(out), | allocatable | :: | f_dTgc(:,:,:) | ||
real(kind=rk), | intent(out), | allocatable | :: | f_Tgc(:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | f_ng(2) | |||
real(kind=rk), | intent(in), | contiguous | :: | f_Xg(:,:) | ||
real(kind=rk), | intent(in), | contiguous | :: | f_point_Xg(:) |
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 |
procedure, public :: ansatz | Compute the shape functions, derivative of shape functions and dA |
generic, public :: basis => basis_vector, basis_scalar | Compute the basis functions of the NURBS surface |
procedure, public :: cmp_Xg | Compute geometry points |
procedure, public :: cmp_area | Compute the area of the NURBS surface |
procedure, public :: cmp_degree | Compute degree of the NURBS surface |
procedure, public :: cmp_elem | Generate IGA element connectivity |
procedure, public :: cmp_elem_Xc_vis | Generate connectivity for control points |
procedure, public :: cmp_elem_Xg_vis | Generate connectivity for geometry points |
procedure, public :: cmp_nc | Compute number of required control points |
procedure, public :: create | Generate geometry points |
generic, public :: derivative => derivative_vector, derivative_scalar | Compute the derivative of the NURBS surface |
generic, public :: derivative2 => derivative2_vector, derivative2_scalar | Compute the second derivative of the NURBS surface |
procedure, public :: elevate_degree | Elevate degree |
procedure, public :: export_Xc | Export control points to VTK file |
procedure, public :: export_Xg | Export geometry points to VTK file |
procedure, public :: finalize | Finalize the NURBS surface object |
generic, public :: get_Wc => get_Wc_all, get_Wci | Get weights |
generic, public :: get_Xc => get_Xc_all, get_Xci, get_Xcid | Get control points |
generic, public :: get_Xg => get_Xg_all, get_Xgi, get_Xgid | Get geometry points |
procedure, public :: get_Xt | Get parameter values |
procedure, public :: get_continuity | Compute and return the continuity of the NURBS surface |
generic, public :: get_degree => get_degree_all, get_degree_dir | Get degree of the NURBS surface |
procedure, public :: get_elem | Get IGA element connectivity |
procedure, public :: get_elem_Xc_vis | Get connectivity for control points |
procedure, public :: get_elem_Xg_vis | Get connectivity for geometry points |
generic, public :: get_knot => get_knoti, get_knot_all | Get knot vector |
procedure, public :: get_multiplicity | Compute and return the multiplicity of the knot vector |
generic, public :: get_nc => get_nc_all, get_nc_dir | Get number of control points |
procedure, public :: get_ng | Get number of geometry points |
procedure, public :: insert_knots | Insert knots into the knot vector |
procedure, public :: is_rational | Check if the NURBS surface is rational |
procedure, public :: modify_Wc | Modify weights |
procedure, public :: modify_Xc | Modify control points |
procedure, public :: nearest_point | Find the nearest point on the NURBS surface (Approximation) |
procedure, public :: nearest_point2 | Find the nearest point on the NURBS surface (Minimization - Newton's method) |
procedure, public :: remove_knots | Remove knots from the knot vector |
procedure, public :: rotate_Xc | Rotate control points |
procedure, public :: rotate_Xg | Rotate geometry points |
generic, public :: set => set1, set2, set3, set4 | Set NURBS surface |
procedure, public :: set1 | Set knot vectors, control points and weights for the NURBS surface object |
procedure, public :: set2 | Set NURBS surface using nodes of parameter space, degree, continuity, control points and weights |
procedure, public :: set3 | Set Bezier or Rational Bezier surface using control points and weights |
procedure, public :: set4 | Set NURBS surface using degree, number of control points, control points and weights |
procedure, public :: set_C | Set a C-shape |
procedure, public :: set_elem | Set IGA element connectivity |
procedure, public :: set_elem_Xc_vis | Set connectivity for control points |
procedure, public :: set_elem_Xg_vis | Set connectivity for geometry points |
procedure, public :: set_half_ring | Set a half ring |
procedure, public :: set_ring | Set a ring |
procedure, public :: set_tetragon | Set a tetragon |
procedure, public :: show | Show the NURBS object using PyVista |
procedure, public :: translate_Xc | Translate control points |
procedure, public :: translate_Xg | Translate geometry points |
procedure, private :: basis_scalar | Compute the basis functions of the NURBS surface |
procedure, private :: basis_vector | Compute the basis functions of the NURBS surface |
procedure, private :: derivative2_scalar | Compute the second derivative of the NURBS surface |
procedure, private :: derivative2_vector | Compute the second derivative of the NURBS surface |
procedure, private :: derivative_scalar | Compute the derivative of the NURBS surface |
procedure, private :: derivative_vector | Compute the derivative of the NURBS surface |
procedure, private :: get_Wc_all | Get all weights |
procedure, private :: get_Wci | Get i-th weight |
procedure, private :: get_Xc_all | Get all control points |
procedure, private :: get_Xci | Get i-th control point |
procedure, private :: get_Xcid | Get i-th control point in a specific direction |
procedure, private :: get_Xg_all | Get all geometry points |
procedure, private :: get_Xgi | Get i-th geometry point |
procedure, private :: get_Xgid | Get i-th geometry point in a specific direction |
procedure, private :: get_degree_all | Get degree of the NURBS surface in both directions |
procedure, private :: get_degree_dir | Get degree of the NURBS surface in a specific direction |
procedure, private :: get_knot_all | Get all knot vectors |
procedure, private :: get_knoti | Get i-th knot value |
procedure, private :: get_nc_all | Get number of control points in all directions |
procedure, private :: get_nc_dir | Get number of control points in a specific direction |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
real(kind=rk), | intent(in), | contiguous | :: | Xt(:) |
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), | optional, | contiguous | :: | p(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in), | optional, | contiguous | :: | p(:) |
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 |
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 |
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 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | dir |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
integer, | intent(in) | :: | dir |
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 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this |
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 |
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 |
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 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this |
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 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in) | :: | Xt(:) | |||
real(kind=rk), | intent(out), | allocatable | :: | Tgc(:) |
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(out) | :: | area |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | optional | :: | dir |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | optional | :: | dir |
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(:,:) |
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(:) |
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 | :: | dTgc(:,:) | ||
real(kind=rk), | intent(out), | optional, | allocatable | :: | Tgc(:) | |
integer, | intent(in), | optional | :: | elem(:) |
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 | |||
integer, | intent(in) | :: | dir | |||
integer, | intent(in) | :: | t |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
character(len=*), | intent(in) | :: | filename |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(in) | :: | this | |||
character(len=*), | intent(in) | :: | filename |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this |
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(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in) | :: | W | |||
integer, | intent(in) | :: | num |
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 |
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 |
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(:) |
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(:) |
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 |
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 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(:) |
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 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | contiguous | :: | elemConn(:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | contiguous | :: | elemConn(:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
integer, | intent(in), | contiguous | :: | elemConn(:,:) |
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 |
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 |
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(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | vtkfile_Xc | |||
character(len=*), | intent(in) | :: | vtkfile_Xg |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in) | :: | vec(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nurbs_surface), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in) | :: | vec(:) |