Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a method for calculation of simulation parameters in 0th timestep #244

Open
landinjm opened this issue Sep 20, 2024 · 0 comments
Open

Comments

@landinjm
Copy link
Contributor

Currently, there is no way to calculate / update parameters in customPDE with simulation data in the first timestep or others. An example would be something like this:

for (unsigned int i = 0; i < dim; i++)
  {
    element_volume =  element_volume * userInputs.domain_size[i] / std::pow(2, userInputs.refine_factor);
  }

Having something like this would be nice to do some calculation of parameters without having to do that in every cell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant