ViennaLS
Loading...
Searching...
No Matches
LOCOSOxidation.cpp File Reference
#include <algorithm>
#include <array>
#include <cmath>
#include <fstream>
#include <iostream>
#include <omp.h>
#include <string>
#include <lsDomain.hpp>
#include <lsGeometricAdvect.hpp>
#include <lsMakeGeometry.hpp>
#include <lsOxidation.hpp>
#include <lsOxidationPresets.hpp>
#include <lsToSurfaceMesh.hpp>
#include <lsVTKWriter.hpp>

Typedefs

using NumericType = double
using LevelSet = ls::SmartPointer<ls::Domain<NumericType, D>>

Functions

void writeSurface (LevelSet levelSet, const std::string &fileName)
LevelSet makePlane (const double *bounds, ls::Domain< NumericType, D >::BoundaryType *boundaryCons, NumericType gridDelta, NumericType y)
LevelSet makeMask (const double *bounds, ls::Domain< NumericType, D >::BoundaryType *boundaryCons, NumericType gridDelta, NumericType xMin, NumericType xMax, NumericType yMin, NumericType yMax)
void writeDiagnostics (const ls::SmartPointer< ls::OxidationDiffusion< NumericType, D > > &diffusion, const ls::SmartPointer< ls::OxidationDeformation< NumericType, D > > &deformation, const viennahrle::Index< D > &minIndex, const viennahrle::Index< D > &maxIndex, NumericType gridDelta, const std::string &fileName)
int main (int argc, char *argv[])

Variables

constexpr int D = 2

Typedef Documentation

◆ LevelSet

using LevelSet = ls::SmartPointer<ls::Domain<NumericType, D>>

◆ NumericType

using NumericType = double

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

◆ makeMask()

LevelSet makeMask ( const double * bounds,
ls::Domain< NumericType, D >::BoundaryType * boundaryCons,
NumericType gridDelta,
NumericType xMin,
NumericType xMax,
NumericType yMin,
NumericType yMax )

◆ makePlane()

LevelSet makePlane ( const double * bounds,
ls::Domain< NumericType, D >::BoundaryType * boundaryCons,
NumericType gridDelta,
NumericType y )

◆ writeDiagnostics()

void writeDiagnostics ( const ls::SmartPointer< ls::OxidationDiffusion< NumericType, D > > & diffusion,
const ls::SmartPointer< ls::OxidationDeformation< NumericType, D > > & deformation,
const viennahrle::Index< D > & minIndex,
const viennahrle::Index< D > & maxIndex,
NumericType gridDelta,
const std::string & fileName )

◆ writeSurface()

void writeSurface ( LevelSet levelSet,
const std::string & fileName )

Variable Documentation

◆ D

int D = 2
constexpr