WarpX
Loading...
Searching...
No Matches
ParticleFieldMetaData Struct Reference

This struct contains the meta data needed to describe a single external particle field: The name of the field, the path to the file, the time dependency function, and then the parser for the time depenendcy function. More...

#include <ExternalParticleFields.H>

Public Attributes

std::string path
 Path to the openPMD file containing the field.
 
std::string time_function = "1.0"
 Time dependency function as a string.
 
std::unique_ptr< amrex::Parsertime_parser
 User-defined parser for time dependency of the field.
 
amrex::ParserExecutor< 1 > time_executor
 Compiled executor of the parser.
 

Detailed Description

This struct contains the meta data needed to describe a single external particle field: The name of the field, the path to the file, the time dependency function, and then the parser for the time depenendcy function.

Member Data Documentation

◆ path

std::string ParticleFieldMetaData::path

Path to the openPMD file containing the field.

◆ time_executor

amrex::ParserExecutor<1> ParticleFieldMetaData::time_executor

Compiled executor of the parser.

◆ time_function

std::string ParticleFieldMetaData::time_function = "1.0"

Time dependency function as a string.

◆ time_parser

std::unique_ptr<amrex::Parser> ParticleFieldMetaData::time_parser

User-defined parser for time dependency of the field.


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