asl::Writer Class Referenceabstract

`#include <aslWriter.h>`

Inheritance diagram for asl::Writer:
[legend]
Collaboration diagram for asl::Writer:
[legend]

## Public Member Functions

| Writer (const std::string &file_)
| ~Writer ()
virtual void | write ()=0
void | enable ()
void | addScalars (std::string name, AbstractData &data)
void | addVector (std::string name, AbstractData &data)
void | addScalars (std::string name, acl::VectorOfElementsData &data)
void | addVector (std::string name, acl::VectorOfElementsData &data)
void | addScalars (std::string name, const acl::VectorOfElements &data, acl::Kernel &kernel, unsigned int nGhost=1)
void | addVector (std::string name, const acl::VectorOfElements &data, acl::Kernel &kernel, unsigned int nGhost=1)
| Writer (const std::string &file_)
| ~Writer ()
virtual void | write ()=0
void | enable ()
void | addScalars (std::string name, AbstractData &data)
void | addVector (std::string name, AbstractData &data)
void | addScalars (std::string name, acl::VectorOfElementsData &data)
void | addVector (std::string name, acl::VectorOfElementsData &data)
void | addScalars (std::string name, const acl::VectorOfElements &data, acl::Kernel &kernel, unsigned int nGhost=1)
void | addVector (std::string name, const acl::VectorOfElements &data, acl::Kernel &kernel, unsigned int nGhost=1)

## Static Public Attributes

static Writer * | current

## Protected Attributes

std::shared_ptr< Block > | block
std::vector< std::pair< std::string, acl::VectorOfElementsData > > | scalarFields
std::vector< std::pair< std::string, acl::VectorOfElementsData > > | vectorFields
std::string | file
unsigned int | numOfWrites

## Detailed Description

Definition at line 44 of file aslWriter.h.

## Constructor & Destructor Documentation

## Writer() [1/2]

asl::Writer::Writer | ( | const std::string & | file_ | ) |

## ~Writer() [1/2]

asl::Writer::~Writer | ( |  | ) |

## Writer() [2/2]

asl::Writer::Writer | ( | const std::string & | file_ | ) |

## ~Writer() [2/2]

asl::Writer::~Writer | ( |  | ) |

## Member Function Documentation

## addScalars() [1/6]

void asl::Writer::addScalars | ( | std::string | name,
|  | AbstractData & | data
| ) |  |

Examples
  bus_wind.cc, cubeGravity.cc, cubeIncompressibleGravity.cc, cubePoroelasticGravity.cc, flow.cc, flowRotatingCylinders.cc, jumpingBox.cc, poroelastic.cc, surfaceFlux.cc, testSMDiff.cc, testSMDiff3C.cc, testSMPhi.cc, and testSMPhiBV.cc.

## addScalars() [2/6]

void asl::Writer::addScalars | ( | std::string | name,
|  | AbstractData & | data
| ) |  |

## addScalars() [3/6]

void asl::Writer::addScalars | ( | std::string | name,
|  | acl::VectorOfElementsData & | data
| ) |  |

## addScalars() [4/6]

void asl::Writer::addScalars | ( | std::string | name,
|  | acl::VectorOfElementsData & | data
| ) |  |

## addScalars() [5/6]

void asl::Writer::addScalars | ( | std::string | name,
|  | const acl::VectorOfElements & | data,
|  | acl::Kernel & | kernel,
|  | unsigned int | nGhost = `1`
| ) |  |

## addScalars() [6/6]

void asl::Writer::addScalars | ( | std::string | name,
|  | const acl::VectorOfElements & | data,
|  | acl::Kernel & | kernel,
|  | unsigned int | nGhost = `1`
| ) |  |

## addVector() [1/6]

void asl::Writer::addVector | ( | std::string | name,
|  | AbstractData & | data
| ) |  |

Examples
  bus_wind.cc, cubeGravity.cc, cubeIncompressibleGravity.cc, cubePoroelasticGravity.cc, flow.cc, flowRotatingCylinders.cc, jumpingBox.cc, and poroelastic.cc.

## addVector() [2/6]

void asl::Writer::addVector | ( | std::string | name,
|  | AbstractData & | data
| ) |  |

## addVector() [3/6]

void asl::Writer::addVector | ( | std::string | name,
|  | acl::VectorOfElementsData & | data
| ) |  |

## addVector() [4/6]

void asl::Writer::addVector | ( | std::string | name,
|  | acl::VectorOfElementsData & | data
| ) |  |

## addVector() [5/6]

void asl::Writer::addVector | ( | std::string | name,
|  | const acl::VectorOfElements & | data,
|  | acl::Kernel & | kernel,
|  | unsigned int | nGhost = `1`
| ) |  |

## addVector() [6/6]

void asl::Writer::addVector | ( | std::string | name,
|  | const acl::VectorOfElements & | data,
|  | acl::Kernel & | kernel,
|  | unsigned int | nGhost = `1`
| ) |  |

## enable() [1/2]

void asl::Writer::enable | ( |  | ) |

## enable() [2/2]

void asl::Writer::enable | ( |  | ) |

## write() [1/2]

virtual void asl::Writer::write | ( |  | ) |

pure virtual

Implemented in asl::WriterVTKXML, and asl::WriterVTKXML.

## write() [2/2]

virtual void asl::Writer::write | ( |  | ) |

pure virtual

Implemented in asl::WriterVTKXML, and asl::WriterVTKXML.

## Member Data Documentation

## block

std::shared_ptr< Block > asl::Writer::block

protected

Definition at line 67 of file aslWriter.h.

## current

static Writer * asl::Writer::current

static

Definition at line 64 of file aslWriter.h.

## file

std::string asl::Writer::file

protected

Definition at line 70 of file aslWriter.h.

## numOfWrites

unsigned int asl::Writer::numOfWrites

protected

Definition at line 71 of file aslWriter.h.

## scalarFields

std::vector< std::pair< std::string, acl::VectorOfElementsData > > asl::Writer::scalarFields

protected

Definition at line 68 of file aslWriter.h.

## vectorFields

std::vector< std::pair< std::string, acl::VectorOfElementsData > > asl::Writer::vectorFields

protected

Definition at line 69 of file aslWriter.h.

The documentation for this class was generated from the following file:

- /build/asl-1Fw6fH/asl-0.1.7/debian/tmp/usr/include/ASL/writers/aslWriter.h