|
| | TypeNameNoDebug ("proxy") |
| | Declare type-name, virtual type (without debug switch) More...
|
| |
| | proxyWriter (const word &fileExt) |
| | Construct for a given extension. More...
|
| |
| | proxyWriter (const word &fileExt, const dictionary &options) |
| | Construct for a given extension, with some output options. More...
|
| |
| | proxyWriter (const meshedSurf &surf, const fileName &outputPath, bool parallel=UPstream::parRun(), const dictionary &options=dictionary()) |
| | Construct from components, taking extension from outputPath. More...
|
| |
| | proxyWriter (const pointField &points, const faceList &faces, const fileName &outputPath, bool parallel=UPstream::parRun(), const dictionary &options=dictionary()) |
| | Construct from components, taking extension from outputPath. More...
|
| |
| virtual | ~proxyWriter ()=default |
| | Destructor. More...
|
| |
| virtual bool | separateGeometry () const |
| | A separate file is required for geometry. More...
|
| |
| virtual fileName | write () |
| | Write surface geometry to file. More...
|
| |
| | declareSurfaceWriterWriteMethod (label) |
| |
| | declareSurfaceWriterWriteMethod (scalar) |
| |
| | declareSurfaceWriterWriteMethod (vector) |
| |
| | declareSurfaceWriterWriteMethod (sphericalTensor) |
| |
| | declareSurfaceWriterWriteMethod (symmTensor) |
| |
| | declareSurfaceWriterWriteMethod (tensor) |
| |
| | TypeName ("surfaceWriter") |
| | Runtime type information. More...
|
| |
| | declareRunTimeSelectionTable (autoPtr, surfaceWriter, word,(),()) |
| |
| | declareRunTimeSelectionTable (autoPtr, surfaceWriter, wordDict,(const dictionary &writeOpts),(writeOpts)) |
| |
| | surfaceWriter () |
| | Default construct. More...
|
| |
| | surfaceWriter (const dictionary &options) |
| | Default construct with specified options. More...
|
| |
| virtual | ~surfaceWriter () |
| | Destructor. Calls close() More...
|
| |
| virtual bool | enabled () const |
| | The writer is enabled. If the writer is not enabled, it may be possible for the caller to skip various preparatory operations. More...
|
| |
| virtual bool | usesFaceIds () const |
| | True if the writer format uses faceIds as part of its output. More...
|
| |
| virtual bool | needsUpdate () const |
| | Does the writer need an update (eg, lagging behind surface changes) More...
|
| |
| virtual bool | wroteData () const |
| | Geometry or fields written since the last open? More...
|
| |
| virtual bool | expire () |
| | Mark that surface changed and the writer will need an update, and set nFields = 0. More...
|
| |
| virtual void | clear () |
| | Close any open output, remove association with a surface and expire the writer. The parallel flag remains untouched. More...
|
| |
| virtual void | setSurface (const meshedSurf &surf, bool parallel) |
| | Change association with a surface, expire the writer with defined parallel/serial treatment. More...
|
| |
| virtual void | setSurface (const pointField &points, const faceList &faces, bool parallel) |
| | Change association with a surface, expire the writer with defined parallel/serial treatment. More...
|
| |
| virtual void | setSurface (const meshedSurf &surf) |
| | Change association with a surface, expire the writer with the current parallel/serial treatment. More...
|
| |
| virtual void | setSurface (const pointField &points, const faceList &faces) |
| | Change association with a surface, expire the writer with the current parallel/serial treatment. More...
|
| |
| bool | is_open () const noexcept |
| | Test if outputPath has been set. More...
|
| |
| bool | hasSurface () const |
| | Writer is associated with a surface. More...
|
| |
| bool | empty () const |
| | The surface to write is empty if the global number of faces is zero. More...
|
| |
| label | size () const |
| | The global number of faces for the associated surface. More...
|
| |
| label | nFields () const noexcept |
| | The number of expected output fields. More...
|
| |
| label | nFields (const label n) noexcept |
| | Set the number of expected output fields. More...
|
| |
| bool | isPointData () const noexcept |
| | Are the field data to be treated as point data? More...
|
| |
| bool | isPointData (bool on) noexcept |
| | Set handling of field data to face/point data. More...
|
| |
| bool | vertexOutput () const noexcept |
| | Output as 1D vertex/point elements instead of faces. More...
|
| |
| bool | vertexOutput (bool on) noexcept |
| | Output as 1D vertex/point elements instead of faces. More...
|
| |
| bool | useTimeDir () const noexcept |
| | Should a time directory be spliced into the output path? More...
|
| |
| bool | useTimeDir (const bool on) noexcept |
| | Enable/disable use of spliced output path. More...
|
| |
| bool | verbose () const noexcept |
| | Get output verbosity. More...
|
| |
| bool | verbose (const bool on) noexcept |
| | Enable/disable verbose output. More...
|
| |
| scalar | mergeDim () const noexcept |
| | The current value of the point merge dimension (metre) More...
|
| |
| scalar | mergeDim (const scalar dist) noexcept |
| | Change the point merge dimension (metre) More...
|
| |
| scalar | scale () const noexcept |
| | The current value of the geometry scaling. More...
|
| |
| scalar | scale (const scalar factor) noexcept |
| | Change the geometry scaling. More...
|
| |
| const coordSystem::cartesian & | transform () const noexcept |
| | The current (cartesian) coordinate system transformation. More...
|
| |
| bool | hasTime () const |
| | True if there is a known time. More...
|
| |
| const word & | timeName () const |
| | The current time value/name. More...
|
| |
| scalar | timeValue () const |
| | The current time value/name. More...
|
| |
| void | setTime (const instant &inst) |
| | Set the current time. More...
|
| |
| void | setTime (scalar timeValue) |
| | Set current time from timeValue, auto generating the name. More...
|
| |
| void | setTime (scalar timeValue, const word &timeName) |
| | Set current time from timeValue and timeName. More...
|
| |
| void | unsetTime () |
| | Clear the current time. More...
|
| |
| virtual void | beginTime (const Time &t) |
| | Begin a time-step. More...
|
| |
| virtual void | beginTime (const instant &inst) |
| | Begin a time-step. More...
|
| |
| virtual void | endTime () |
| | End a time-step. More...
|
| |
| virtual void | open (const fileName &outputPath) |
| | Open for output on specified path, using existing surface. More...
|
| |
| virtual void | open (const pointField &points, const faceList &faces, const fileName &outputPath, bool parallel) |
| | Open from components. More...
|
| |
| virtual void | open (const meshedSurf &surf, const fileName &outputPath, bool parallel) |
| | Open from components. More...
|
| |
| virtual void | open (const pointField &points, const faceList &faces, const fileName &outputPath) |
| | Open from components, with the current parallel/serial treatment. More...
|
| |
| virtual void | open (const meshedSurf &surf, const fileName &outputPath) |
| | Open from components, with the current parallel/serial treatment. More...
|
| |
| virtual void | close () |
| | Finish output, performing any necessary cleanup. More...
|
| |
| virtual fileName | write (const word &fieldName, const Field< label > &values)=0 |
| | Write field of label (per face or vertex) More...
|
| |
| virtual fileName | write (const word &fieldName, const Field< scalar > &values)=0 |
| | Write field of scalar (per face or vertex) More...
|
| |
| virtual fileName | write (const word &fieldName, const Field< vector > &values)=0 |
| | Write field of vector (per face or vertex) More...
|
| |
| virtual fileName | write (const word &fieldName, const Field< sphericalTensor > &values)=0 |
| | Write field of sphericalTensor (per face or vertex) More...
|
| |
| virtual fileName | write (const word &fieldName, const Field< symmTensor > &values)=0 |
| | Write field of symmTensor (per face or vertex) More...
|
| |
| virtual fileName | write (const word &fieldName, const Field< tensor > &values)=0 |
| | Write field of tensor (per face or vertex) More...
|
| |
| virtual InfoProxy< surfaceWriter > | info () const noexcept |
| | Return info proxy, used to print information to a stream. More...
|
| |
A surfaceWriter that writes the geometry via the MeshedSurfaceProxy, but which does not support any fields.
file locations
The rootdir normally corresponds to something like postProcessing/<name>
Geometry
rootdir
`-- timeName
`-- surfaceName.{obj|stl|..}
- Note
- The formatOptions for proxy are file-type dependent.
The following stream options are read and passed through, but not necessarily used by the corresponding backend.
| Property | Description | Required | Default |
format | ascii/binary | no | ascii |
compression | Use file compression | no | false |
scale | Output geometry scaling | no | 1 |
transform | Output coordinate transform | no | |
- Source files
-
Definition at line 100 of file proxySurfaceWriter.H.