MCPcopy Create free account
hub / github.com/BLAST-WarpX/warpx / InjectorDensityFromFile

Method InjectorDensityFromFile

Source/Initialization/InjectorDensity.cpp:101–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101InjectorDensityFromFile::InjectorDensityFromFile (std::string const& a_file_name,
102 amrex::Geometry const& a_geom,
103 bool a_distributed)
104{
105 m_external_field_reader = new ExternalFieldReader
106 (a_file_name, "density", "", a_geom.ProbLoArray(), a_geom.CellSizeArray(),
107 amrex::convert(a_geom.Domain(),amrex::IntVect(1)), a_distributed);
108}
109
110void InjectorDensityFromFile::clear ()
111{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected