ls1-MarDyn
ls1-MarDyn molecular dynamics code
Public Member Functions | List of all members
BoxDomain Class Reference
Inheritance diagram for BoxDomain:
DomainBase

Public Member Functions

virtual void readXML (XMLfileUnits &xmlconfig)
 Read in XML configuration for BoxDomain and all its included objects. More...
 
virtual double V ()
 
virtual double length (int d)
 
void setLength (int d, double l)
 
- Public Member Functions inherited from DomainBase
double * rmin ()
 
double * rmax ()
 
double length (int d)
 

Additional Inherited Members

- Protected Attributes inherited from DomainBase
double _rmin [3]
 
double _rmax [3]
 

Member Function Documentation

◆ readXML()

void BoxDomain::readXML ( XMLfileUnits xmlconfig)
virtual

Read in XML configuration for BoxDomain and all its included objects.

The following xml object structure is handled by this method:

<domain type="box">
<lx>DOUBLE</lx>
<ly>DOUBLE</ly>
<lz>DOUBLE</lz>
</domain>

Implements DomainBase.

◆ V()

double BoxDomain::V ( )
virtual

Return volume of the domain

Implements DomainBase.


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