libsurf
Programmer's Documentation

Public Member Functions | Private Attributes | List of all members
TritetWriter Class Reference

Detailed Description

Writes triangular boundary mesh in tritet boundary format.

Deprecated:

#include <tritetwriter.h>

Collaboration diagram for TritetWriter:
[legend]

Public Member Functions

 TritetWriter (const TriMesh &m, const std::string &name="Body")
 initialized with mesh to write
 
void caseName (const std::string &s)
 specify case name
 
void setBoundary (const std::string &bname, const Indices &idx)
 add a boundary specification
 
void setBoundary (const std::string &bname, int n1, int n2)
 add a boundary specification for faces [n1,n2[
 
void sphericalFarfield (Real radius, int nref)
 add spherical farfield boundary to mesh
 
void write (std::ostream &os) const
 write to stream
 
void writeTetgen (std::ostream &os) const
 experimental : write in tetgen format (.smesh)
 

Private Attributes

TriMesh msh
 mesh to write
 
Indices ibnd
 boundary tags
 
std::string casename
 case name
 
StringArray bnames
 list of boundary names
 
Vct3 mctr
 mesh center
 

The documentation for this class was generated from the following files:
Generated on Mon Jan 24 2022 03:03:20 for libsurf by   doxygen 1.8.5