Class HomogeneousSurfaceMaterial

Inheritance Relationships

Base Type

Class Documentation

class Acts::HomogeneousSurfaceMaterial : public Acts::ISurfaceMaterial

It extends the ISurfaceMaterial virutal base class to describe a simple homogeneous material on a surface.

Public Functions

HomogeneousSurfaceMaterial() = default

Default Constructor - defaulted.

HomogeneousSurfaceMaterial(const MaterialSlab &full, double splitFactor = 1.)

Explicit constructor.

Parameters
  • full: are the full material properties

  • splitFactor: is the split for pre/post update

HomogeneousSurfaceMaterial(const HomogeneousSurfaceMaterial &hsm) = default

Copy Constructor.

Parameters
  • hsm: is the source material

HomogeneousSurfaceMaterial(HomogeneousSurfaceMaterial &&hsm) = default

Copy Move Constructor.

Parameters
  • hsm: is the source material

~HomogeneousSurfaceMaterial() override = default

Destructor.

const MaterialSlab &materialSlab(const Vector2 &lp) const final

Note

the input parameter is ignored

const MaterialSlab &materialSlab(const Vector3 &gp) const final

Note

the input parameter is ignored

const MaterialSlab &materialSlab(size_t ib0, size_t ib1) const final

Note

the input parameter is ignored

Parameters
  • ib0: The bin at local 0 for retrieving the material

  • ib1: The bin at local 1 for retrieving the material

HomogeneousSurfaceMaterial &operator*=(double scale) final

Scale operator.

  • it is effectively a thickness scaling

Parameters
  • scale: is the scale factor

HomogeneousSurfaceMaterial &operator=(const HomogeneousSurfaceMaterial &hsm) = default

Assignment operator.

Parameters
  • hsm: is the source material

HomogeneousSurfaceMaterial &operator=(HomogeneousSurfaceMaterial &&hsm) = default

Assignment Move operator.

Parameters
  • hsm: is the source material

bool operator==(const HomogeneousSurfaceMaterial &hsm) const

Equality operator.

Parameters
  • hsm: is the source material

std::ostream &toStream(std::ostream &sl) const final

Output Method for std::ostream.

Parameters
  • sl: The outoput stream