The Open FUSION Toolkit 1.0.0-beta6
Modeling tools for plasma and fusion research and engineering
Loading...
Searching...
No Matches
bezier_cad.F90 File Reference
#include "local.h"

Data Types

type  cad_curve
 CAD curve class. More...
interface  cad_dummy_eval
 Map the parametric possition on an entity to physical coordinates. More...
interface  cad_dummy_find
 Find the parametric representation of a boundary point in CAD representation. More...
type  cad_entity
 CAD entity class. More...
type  cad_entity_ptr
 List of CAD entities. More...
type  cad_surf
 CAD surface class. More...
type  cad_vertex
 CAD vertex class. More...

Modules

module  bezier_cad
 CAD utility functions and class definition for reconstruction of rational bezier CAD objects.

Functions/Subroutines

real(r8) function, public bernstein (x, i, j)
 Evaluates the bernstein polynomial.
subroutine cad_cmid_error (m, n, uv, err, iflag)
 Evalute the error between a curve point and the current active points used in a 2 point minimization.
integer(i4) function, public cad_curve_cast (self, source)
 Cast cad_entity to cad_curve.
subroutine cad_curve_eval (self, pt, u, v)
 Map the parametric possition on a curve to physical coordinates.
subroutine cad_curve_find (self, pt, u, v)
 Find the parametric representation of a boundary point in CAD representation on a curve.
subroutine cad_curve_grid (self)
 Evalute a grid of points evenly spaced in parametric space.
subroutine, public cad_curve_midpoint (self, pt, pt1, pt2, wt1, wt2, ierr)
 Compute the weighted midpoint of a curve edge.
subroutine cad_curve_reflect (self, copy, tol, k)
 Reflect a curve object across a given plane.
subroutine cad_curve_tang (self, tang, u)
 Compute unit tangent vector for a CAD curve at a given location.
subroutine cad_scenter_error (m, n, uv, err, iflag)
 Evalute the error between a surface point and the current active points used in a 3 point minimization.
subroutine cad_smid_error (m, n, uv, err, iflag)
 Evalute the error between a surface point and the current active points used in a 2 point minimization.
integer(i4) function, public cad_surf_cast (self, source)
 Cast cad_entity to cad_surf.
subroutine, public cad_surf_center (self, pt, pt1, pt2, pt3, wt1, wt2, wt3, ierr)
 Compute the weighted center point of a surface triangle.
subroutine cad_surf_eval (self, pt, u, v)
 Map the parametric possition on a surface to physical coordinates.
subroutine cad_surf_find (self, pt, u, v)
 Find the parametric representation of a boundary point in CAD representation on a surface.
subroutine cad_surf_grid (self)
 Evalute a grid of points evenly spaced in parametric space.
subroutine, public cad_surf_midpoint (self, pt, pt1, pt2, wt1, wt2, ierr)
 Compute the weighted midpoint of a surface edge.
subroutine cad_surf_norm (self, norm, u, v)
 Compute unit normal vector for a CAD surface at a specified position.
subroutine cad_surf_reflect (self, copy, tol, k)
 Reflect a surface object across a given plane.
subroutine cad_vertex_eval (self, pt, u, v)
 Map parametric possition of a vertex to physical coordinates.
subroutine cad_vertex_find (self, pt, u, v)
 Find the parametric representation of a boundary point in CAD representation on a vertex.
subroutine cad_vertex_reflect (self, copy, tol, k)
 Reflect a vertex object across a given plane.

Variables

class(cad_curve), pointer active_curve => NULL()
 Active curve for MINPACK fitting.
real(r8), dimension(3, 3) active_endpts
 Active constraint points for MINPACK fitting.
class(cad_surf), pointer active_surf => NULL()
 Active surface for MINPACK fitting.
real(r8), dimension(3) active_wts
 Active constraint weights for MINPACK fitting.
integer(i4), parameter cad_ngrid = 20
 Number of grid points to use for object meshes.