https://mooseframework.inl.gov
BimodalSuperellipsoidsIC.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
13 
24 {
25 public:
27 
29 
30  virtual void initialSetup();
31 
32 protected:
33  virtual void computeSuperellipsoidCenters();
34  virtual void computeSuperellipsoidSemiaxes();
35  virtual void computeSuperellipsoidExponents();
36 
38  unsigned int _npart;
48 
49  const unsigned int _max_num_tries;
50 
51  Point _bottom_left;
52  Point _top_right;
53  Point _range;
54 };
virtual void computeSuperellipsoidSemiaxes()
SpecifiedSmoothSuperellipsoidIC creates multiple SmoothSuperellipsoids (number = size of x_positions)...
static InputParameters validParams()
BimodalSuperellipsoidsIC takes a specified number of superellipsoids, each with given parameters Thes...
unsigned int _npart
Variables to describe the randomly placed (smaller) superellipsoids.
BimodalSuperellipsoidsIC(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const