0.6.0
Loading...
Searching...
No Matches
polyhedron.f90 File Reference

Data Types

type  mod_cg3_polyhedron::t_incidence_matrix
 Definition of an incidence matrix. More...
 
type  mod_cg3_polyhedron::t_polyhedron
 Definition of a 3-dimensional polyhedron. More...
 
interface  mod_cg3_polyhedron::unalloc
 

Modules

module  mod_cg3_polyhedron
 

Functions/Subroutines

subroutine mod_cg3_polyhedron::cg3_finalize_polyhedron (polyhedron)
 Finalize a polyhedron.
 
pure subroutine mod_cg3_polyhedron::cg3_polyhedron_move_alloc (polyhedron_source, polyhedron_target)
 Move allocation from source to target.
 
subroutine mod_cg3_polyhedron::cg3_polyhedron_write_vtk_file (polyhedron, filename)
 Write a polyhedron to a VTK file.
 
subroutine mod_cg3_polyhedron::cg3_polyhedron_write_obj_file (polyhedron, filename)
 Write a polyhedron to a OBJ Wavefront file.
 
pure subroutine mod_cg3_polyhedron::cg3_polyhedron_compute_volume (polyhedron, volume)
 Compute the volume of a polyhedron.
 
pure subroutine mod_cg3_polyhedron::cg3_polyhedron_compute_centroid (polyhedron, volume, centroid)
 Compute the volume and the centroid of a polyhedron.
 
pure subroutine mod_cg3_polyhedron::cg3_polyhedron_compute_normals (polyhedron, zero_area_face)
 Compute the faces normals of the polyhedron.
 
pure subroutine mod_cg3_polyhedron::cg3_polyhedron_compute_tangents (polyhedron, zero_length_edge)
 Compute the edges tangents of the polyhedron.
 
pure subroutine mod_cg3_polyhedron::cg3_create_tetrahedron (p1, p2, p3, p4, tetra)
 
subroutine mod_cg3_polyhedron::cg3_create_cuboid (c, cuboid)