Domain
Member Functions
Coming soon
Constructors
Domain()
Domain(SmartPointer<Domain> passedDomain)
Domain(SmartPointer<viennals::Domain<NumericType, D>> passedLevelSet, bool generateCellSet = false,
const NumericType passedCellSetDepth = 0., const bool passedCellSetPosition = false)
Domain(lsDomainsType passedLevelSets, bool generateCellSet = false,
const NumericType passedCellSetDepth = 0., const bool passedCellSetPosition = false)
Member Functions
void deepCopy(SmartPointer<Domain> passedDomain)
void insertNextLevelSet(SmartPointer<viennals::Domain<NumericType, D>> passedLevelSet, bool wrapLowerLevelSet = true)
void insertNextLevelSetAsMaterial(SmartPointer<viennals::Domain<NumericType, D>> passedLevelSet, const Material material,
bool wrapLowerLevelSet = true)
void duplicateTopLevelSet(const Material material = Material::None)
void removeTopLevelSet()
void applyBooleanOperation(SmartPointer<viennals::Domain<NumericType, D>> levelSet, viennals::BooleanOperationEnum operation)
void generateCellSet(const NumericType position, const Material coverMaterial,
const bool isAboveSurface = false)
void setMaterial(unsigned int lsId, const Material material)
auto &getLevelSets() const
auto &getMaterialMap() const
auto &getCellSet() const
auto &getGrid() const
void print() const
void saveLevelSetMesh(std::string name, int width = 1)
void saveSurfaceMesh(std::string name, bool addMaterialIds = true)
void saveVolumeMesh(std::string name)
void saveLevelSets(std::string fileName) const
void clear()