Loading...
Searching...
No Matches
DamarisWriter.hpp File Reference

Collects necessary output values and pass them to Damaris server processes. More...

`#include <dune/grid/common/partitionset.hh>`
`#include <opm/common/OpmLog/OpmLog.hpp>`
`#include <opm/simulators/flow/countGlobalCells.hpp>`
`#include <opm/simulators/flow/DamarisParameters.hpp>`
`#include <opm/simulators/flow/EclGenericWriter.hpp>`
`#include <opm/simulators/flow/FlowBaseVanguard.hpp>`
`#include <opm/simulators/flow/OutputBlackoilModule.hpp>`
`#include <opm/simulators/utils/DamarisVar.hpp>`
`#include <opm/simulators/utils/DamarisKeywords.hpp>`
`#include <opm/simulators/utils/DeferredLoggingErrorHelpers.hpp>`
`#include <opm/simulators/utils/GridDataOutput.hpp>`
`#include <opm/simulators/utils/ParallelSerialization.hpp>`
`#include <fmt/format.h>`
`#include <algorithm>`
`#include <memory>`
`#include <numeric>`
`#include <string>`
`#include <vector>`
`#include <unordered_set>`

Go to the source code of this file.

## Classes

class | Opm::DamarisWriter< TypeTag >
| Collects necessary output values and pass them to Damaris server processes. More...

## Namespaces

namespace | Opm
| This file contains a set of helper functions used by VFPProd / VFPInj.
namespace | Opm::DamarisOutput
| Below are the Damaris Keywords supported by Damaris to be filled in the built-in XML file.

## Functions

int | Opm::DamarisOutput::endIteration ()
int | Opm::DamarisOutput::setParameter (const char *field, int value)
int | Opm::DamarisOutput::setPosition (const char *field, int64_t pos)
int | Opm::DamarisOutput::write (const char *field, const void *data)
int | Opm::DamarisOutput::setupWritingPars (Parallel::Communication comm, const int n_elements_local_grid, std::vector< unsigned long long > &elements_rank_offsets)
void | Opm::DamarisOutput::handleError (const int dam_err, Parallel::Communication comm, const std::string &message)

## Detailed Description

Collects necessary output values and pass them to Damaris server processes.

Currently only passing through PRESSURE, GLOBAL_CELL_INDEX and MPI_RANK information. This class now passes through the 3D mesh information to Damaris to enable in situ visualization via Paraview or Ascent. And developed so that variables specified through the Eclipse input deck will be available to Damaris.