Alamo
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
IC::PointList Class Reference

#include <PointList.H>

Inheritance diagram for IC::PointList:
IC::IC< Set::Scalar >

Public Types

enum  Type { Partition , Values }
 

Public Member Functions

 PointList (amrex::Vector< amrex::Geometry > &_geom)
 
 PointList (amrex::Vector< amrex::Geometry > &_geom, IO::ParmParse &pp, std::string name)
 
void Define ()
 
void Add (const int &lev, Set::Field< Set::Scalar > &a_phi, Set::Scalar)
 
- Public Member Functions inherited from IC::IC< Set::Scalar >
 IC (amrex::Vector< amrex::Geometry > &_geom)
 
virtual ~IC ()
 
void Add (const int &lev, Set::Field< Set::Scalar > &field)
 
void Initialize (const int &a_lev, Set::Field< Set::Scalar > &a_field, Set::Scalar a_time=0.0)
 
void Initialize (const int &a_lev, Set::Field< Set::Scalar > &a_field, Set::Scalar a_time=0.0)
 
virtual void SetComp (int a_comp) final
 

Static Public Member Functions

static void Parse (PointList &value, IO::ParmParse &pp)
 

Static Public Attributes

static constexpr const char * name = "pointlist"
 

Private Member Functions

double dist (double x1, double y1, double x2, double y2)
 

Private Attributes

std::vector< Set::VectorX
 
Set::Scalar eps
 
Set::Scalar mult = 1.0
 
Set::Vector x0 = Set::Vector::Zero()
 
bool invert = false
 
struct { 
 
   Set::Vector   center 
 
   Set::Scalar   angle 
 
rotation 
 

Additional Inherited Members

- Protected Attributes inherited from IC::IC< Set::Scalar >
amrex::Vector< amrex::Geometry > & geom
 
int comp
 

Detailed Description

Definition at line 22 of file PointList.H.

Member Enumeration Documentation

◆ Type

Enumerator
Partition 
Values 

Definition at line 27 of file PointList.H.

Constructor & Destructor Documentation

◆ PointList() [1/2]

IC::PointList::PointList ( amrex::Vector< amrex::Geometry > &  _geom)
inline

Definition at line 33 of file PointList.H.

◆ PointList() [2/2]

IC::PointList::PointList ( amrex::Vector< amrex::Geometry > &  _geom,
IO::ParmParse pp,
std::string  name 
)
inline

Definition at line 35 of file PointList.H.

Member Function Documentation

◆ Add()

void IC::PointList::Add ( const int &  lev,
Set::Field< Set::Scalar > &  a_phi,
Set::Scalar   
)
inlinevirtual

Implements IC::IC< Set::Scalar >.

Definition at line 43 of file PointList.H.

◆ Define()

void IC::PointList::Define ( )
inline

Definition at line 39 of file PointList.H.

◆ dist()

double IC::PointList::dist ( double  x1,
double  y1,
double  x2,
double  y2 
)
inlineprivate

Definition at line 269 of file PointList.H.

◆ Parse()

static void IC::PointList::Parse ( PointList value,
IO::ParmParse pp 
)
inlinestatic

Definition at line 184 of file PointList.H.

Field Documentation

◆ angle

Set::Scalar IC::PointList::angle

Definition at line 266 of file PointList.H.

◆ center

Set::Vector IC::PointList::center

Definition at line 265 of file PointList.H.

◆ eps

Set::Scalar IC::PointList::eps
private

Definition at line 259 of file PointList.H.

◆ invert

bool IC::PointList::invert = false
private

Definition at line 262 of file PointList.H.

◆ mult

Set::Scalar IC::PointList::mult = 1.0
private

Definition at line 260 of file PointList.H.

◆ name

constexpr const char* IC::PointList::name = "pointlist"
staticconstexpr

Definition at line 25 of file PointList.H.

◆ [struct]

struct { ... } IC::PointList::rotation

◆ X

std::vector<Set::Vector> IC::PointList::X
private

Definition at line 258 of file PointList.H.

◆ x0

Set::Vector IC::PointList::x0 = Set::Vector::Zero()
private

Definition at line 261 of file PointList.H.


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