WarpX
Loading...
Searching...
No Matches
WarpXLaserProfiles Namespace Reference

Classes

struct  CommonLaserParameters
 
class  FieldFunctionLaserProfile
 
class  FromFileLaserProfile
 
class  GaussianLaserProfile
 
class  ILaserProfile
 

Variables

const std::map< std::string, std::function< std::unique_ptr< ILaserProfile >()> > laser_profiles_dictionary
 

Variable Documentation

◆ laser_profiles_dictionary

const std::map<std::string,std::function<std::unique_ptr<ILaserProfile>()>> WarpXLaserProfiles::laser_profiles_dictionary
Initial value:
=
{
{"gaussian",
[] () {return std::make_unique<GaussianLaserProfile>();} },
{"parse_field_function",
[] () {return std::make_unique<FieldFunctionLaserProfile>();} },
{"from_file",
[] () {return std::make_unique<FromFileLaserProfile>();} }
}

Maps laser profile names to lambdas returing unique pointers to the corresponding laser profile objects.