preCICE v3.2.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Public Attributes | List of all members
precice::testing::QuickTest Struct Reference

#include <QuickTest.hpp>

Collaboration diagram for precice::testing::QuickTest:
[legend]

Classes

struct  Mesh
 
struct  ReadData
 
struct  WriteData
 

Public Member Functions

 QuickTest (Participant &p, Mesh m, ReadData r)
 
 QuickTest (Participant &p, Mesh m, WriteData w)
 
 QuickTest (Participant &p, Mesh m, ReadData r, WriteData w)
 
QuickTestsetVertices (const std::vector< double > &pos)
 
QuickTestinitialize ()
 
QuickTestresetMesh ()
 
QuickTestreadCheckpoint ()
 
QuickTestwriteCheckpoint ()
 
void finalize ()
 
QuickTestadvance ()
 
QuickTestadvance (double dt)
 
QuickTestwrite (const std::vector< double > &data)
 
QuickTestwriteAll (double d)
 
std::vector< double > read ()
 
QuickTestexpect (const std::vector< double > &expected)
 
QuickTestexpectAll (double e)
 
QuickTestexpectReadCheckpoint ()
 
QuickTestexpectWriteCheckpoint ()
 
QuickTestexpectCouplingCompleted ()
 

Public Attributes

Participantinterface
 
std::string meshName
 
std::string readDataName = "unused"
 
std::string writeDataName = "unused"
 
std::vector< VertexIDvertexIDs
 

Detailed Description

Definition at line 11 of file QuickTest.hpp.

Constructor & Destructor Documentation

◆ QuickTest() [1/3]

precice::testing::QuickTest::QuickTest ( Participant & p,
Mesh m,
ReadData r )
inline

Definition at line 25 of file QuickTest.hpp.

◆ QuickTest() [2/3]

precice::testing::QuickTest::QuickTest ( Participant & p,
Mesh m,
WriteData w )
inline

Definition at line 30 of file QuickTest.hpp.

◆ QuickTest() [3/3]

precice::testing::QuickTest::QuickTest ( Participant & p,
Mesh m,
ReadData r,
WriteData w )
inline

Definition at line 35 of file QuickTest.hpp.

Member Function Documentation

◆ advance() [1/2]

QuickTest & precice::testing::QuickTest::advance ( )
inline

Definition at line 78 of file QuickTest.hpp.

Here is the call graph for this function:

◆ advance() [2/2]

QuickTest & precice::testing::QuickTest::advance ( double dt)
inline

Definition at line 84 of file QuickTest.hpp.

Here is the call graph for this function:

◆ expect()

QuickTest & precice::testing::QuickTest::expect ( const std::vector< double > & expected)
inline

Definition at line 111 of file QuickTest.hpp.

Here is the call graph for this function:

◆ expectAll()

QuickTest & precice::testing::QuickTest::expectAll ( double e)
inline

Definition at line 118 of file QuickTest.hpp.

Here is the call graph for this function:

◆ expectCouplingCompleted()

QuickTest & precice::testing::QuickTest::expectCouplingCompleted ( )
inline

Definition at line 140 of file QuickTest.hpp.

Here is the call graph for this function:

◆ expectReadCheckpoint()

QuickTest & precice::testing::QuickTest::expectReadCheckpoint ( )
inline

Definition at line 126 of file QuickTest.hpp.

Here is the call graph for this function:

◆ expectWriteCheckpoint()

QuickTest & precice::testing::QuickTest::expectWriteCheckpoint ( )
inline

Definition at line 133 of file QuickTest.hpp.

Here is the call graph for this function:

◆ finalize()

void precice::testing::QuickTest::finalize ( )
inline

Definition at line 73 of file QuickTest.hpp.

Here is the call graph for this function:

◆ initialize()

QuickTest & precice::testing::QuickTest::initialize ( )
inline

Definition at line 48 of file QuickTest.hpp.

Here is the call graph for this function:

◆ read()

std::vector< double > precice::testing::QuickTest::read ( )
inline

Definition at line 103 of file QuickTest.hpp.

Here is the call graph for this function:

◆ readCheckpoint()

QuickTest & precice::testing::QuickTest::readCheckpoint ( )
inline

Definition at line 61 of file QuickTest.hpp.

Here is the call graph for this function:

◆ resetMesh()

QuickTest & precice::testing::QuickTest::resetMesh ( )
inline

Definition at line 54 of file QuickTest.hpp.

Here is the call graph for this function:

◆ setVertices()

QuickTest & precice::testing::QuickTest::setVertices ( const std::vector< double > & pos)
inline

Definition at line 40 of file QuickTest.hpp.

Here is the call graph for this function:

◆ write()

QuickTest & precice::testing::QuickTest::write ( const std::vector< double > & data)
inline

Definition at line 90 of file QuickTest.hpp.

Here is the call graph for this function:

◆ writeAll()

QuickTest & precice::testing::QuickTest::writeAll ( double d)
inline

Definition at line 96 of file QuickTest.hpp.

Here is the call graph for this function:

◆ writeCheckpoint()

QuickTest & precice::testing::QuickTest::writeCheckpoint ( )
inline

Definition at line 67 of file QuickTest.hpp.

Here is the call graph for this function:

Member Data Documentation

◆ interface

Participant& precice::testing::QuickTest::interface

Definition at line 146 of file QuickTest.hpp.

◆ meshName

std::string precice::testing::QuickTest::meshName

Definition at line 147 of file QuickTest.hpp.

◆ readDataName

std::string precice::testing::QuickTest::readDataName = "unused"

Definition at line 148 of file QuickTest.hpp.

◆ vertexIDs

std::vector<VertexID> precice::testing::QuickTest::vertexIDs

Definition at line 150 of file QuickTest.hpp.

◆ writeDataName

std::string precice::testing::QuickTest::writeDataName = "unused"

Definition at line 149 of file QuickTest.hpp.


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