ECOGEN 4.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
Loading...
Searching...
No Matches
SymSpherical Class Reference

#include <SymSpherical.h>

Inherits Symmetry.

Public Member Functions

 SymSpherical ()
 
 SymSpherical (tinyxml2::XMLElement *element, std::string nameFile="Unknown file")
 
virtual ~SymSpherical ()
 
virtual void addSymmetricTerms (Cell *cell, Prim type=vecPhases)
 Add the symmetric terms for the cylindrical or spherical symmetry assumption.
 
virtual void addSymmetricTermsAddPhys (Cell *, AddPhys &)
 Add the additional-physics, symmetric terms for the cylindrical or spherical symmetry assumption.
 
- Public Member Functions inherited from Symmetry
 Symmetry ()
 
virtual ~Symmetry ()
 

Additional Inherited Members

- Protected Attributes inherited from Symmetry
int m_radialAxis
 Name of the radial axis for the axi-symmetry.
 

Constructor & Destructor Documentation

◆ SymSpherical() [1/2]

SymSpherical::SymSpherical ( )

◆ SymSpherical() [2/2]

SymSpherical::SymSpherical ( tinyxml2::XMLElement element,
std::string  nameFile = "Unknown file" 
)

Spherical symmetry constructor from a read in XML format ex : <dataSymSpher radialAxis="X">

◆ ~SymSpherical()

SymSpherical::~SymSpherical ( )
virtual

Member Function Documentation

◆ addSymmetricTerms()

void SymSpherical::addSymmetricTerms ( Cell ,
Prim  = vecPhases 
)
virtual

Add the symmetric terms for the cylindrical or spherical symmetry assumption.

Parameters
cellcell to add the terms
typeenumeration allowing to correct either state in the cell or second order half time step state

Reimplemented from Symmetry.

◆ addSymmetricTermsAddPhys()

virtual void SymSpherical::addSymmetricTermsAddPhys ( Cell ,
AddPhys  
)
inlinevirtual

Add the additional-physics, symmetric terms for the cylindrical or spherical symmetry assumption.

Parameters
cellcell to add the terms
addPhysadditional-physics object to call the corresponding symmetry subroutine

Reimplemented from Symmetry.


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