Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
vlsv2silo.cpp File Reference
#include <cstdlib>
#include <iostream>
#include <stdint.h>
#include <cmath>
#include <list>
#include <silo.h>
#include <sstream>
#include <dirent.h>
#include <mpi.h>
#include <array>
#include "vlsv_reader.h"
#include "definitions.h"
#include "vlsvreaderinterface.h"
Include dependency graph for vlsv2silo.cpp:

Go to the source code of this file.

Classes

struct  CellStructure
struct  NodeCrd< REAL >
struct  NodeComp

Functions

void getCellCoordinates (const CellStructure &cellStruct, const uint64_t _cellId, array< Real, 3 > &coordinates)
void setCellVariables (vlsvinterface::Reader &vlsvReader, CellStructure &cellStruct)
bool isDataTypeUint (vlsv::datatype::type &dataType)
template<typename T>
uint64_t convUInt (const char *ptr, const T &dataType, const uint64_t &dataSize)
int SiloType (const datatype::type &dataType, const uint64_t &dataSize)
template<class T>
bool convertMeshVariable (T &vlsvReader, const string &meshName, const string &varName)
bool convertMesh (vlsvinterface::Reader &vlsvReader, const string &meshName)
template<class T>
bool convertSILO (const string &fname)
int main (int argn, char *args[])

Variables

static DBfile * fileptr = NULL

Function Documentation

◆ convertMesh()

bool convertMesh ( vlsvinterface::Reader & vlsvReader,
const string & meshName )

Definition at line 373 of file vlsv2silo.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ convertMeshVariable()

template<class T>
bool convertMeshVariable ( T & vlsvReader,
const string & meshName,
const string & varName )

Definition at line 314 of file vlsv2silo.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ convertSILO()

template<class T>
bool convertSILO ( const string & fname)

Definition at line 553 of file vlsv2silo.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ convUInt()

template<typename T>
uint64_t convUInt ( const char * ptr,
const T & dataType,
const uint64_t & dataSize )

Definition at line 187 of file vlsv2silo.cpp.

Here is the call graph for this function:

◆ getCellCoordinates()

void getCellCoordinates ( const CellStructure & cellStruct,
const uint64_t _cellId,
array< Real, 3 > & coordinates )

Definition at line 68 of file vlsv2silo.cpp.

Here is the caller graph for this function:

◆ isDataTypeUint()

bool isDataTypeUint ( vlsv::datatype::type & dataType)

Definition at line 178 of file vlsv2silo.cpp.

Here is the caller graph for this function:

◆ main()

int main ( int argn,
char * args[] )

Definition at line 592 of file vlsv2silo.cpp.

Here is the call graph for this function:

◆ setCellVariables()

void setCellVariables ( vlsvinterface::Reader & vlsvReader,
CellStructure & cellStruct )

Definition at line 93 of file vlsv2silo.cpp.

Here is the caller graph for this function:

◆ SiloType()

int SiloType ( const datatype::type & dataType,
const uint64_t & dataSize )

Definition at line 211 of file vlsv2silo.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ fileptr

DBfile* fileptr = NULL
static

Definition at line 175 of file vlsv2silo.cpp.