Giter VIP home page Giter VIP logo

help's Introduction

help's People

Contributors

marijanbeg avatar

Watchers

James Cloos avatar

help's Issues

install mumax3c

I already successfully installed oommf and mumax3 on my Windows 64 bit pc and both of them runing well.

However, after i installed ubermag through conda, the oommfc is running well, while it did not install the mumax3c package and i could not finish the test.

Can you help me with this? Besides, is there a tutorial on mumax3 like oommfc?

Tingyu Su

Oommf taking too long to perform calculations

Hi,

For some reason, my Oommf takes up to five times more time to perform simple calculations in contrast with examples I've found online. I am running previously installed Oommf with Tcl. Here is an example of the output:

Running OOMMF (TclOOMMFRunner) [2020/08/24 11:23]... (9.8 s)

This code should take no more than 2 seconds.

Thanks in advance

Vectorial sum of two df.Field

hi
I have a problem summing two fields, a field of the form (Hx, 0, 0) uniform all over the volume, and a stray field (so a df.Field) of a permalloy sphere.
do you have some suggestions?

Hstray = system.hamiltonian.demag.effective_field is how I defined the stray field

I tried defining a function which, for a given point of the space given, returns the value of the fields summed, but after more than 7 hours running, I discarded this try.
I attach the function code.

thank you

image

Standard problem 3 with different answers

Hi, I have a problem with one variable in standard problem 3 , the discretisation in one dimension N which is defined in the function minimise_system_energy. The tutorial defines the N = 16 and if I change N to 20 or 25, the final result will be very different from the one in the tutorial. I am new to the ubermag but should not the larger N (smaller cellsize for mesh) leads to more accurate results? Thank you for replying.
Result

oommfc.test() tornado conda error

I have used Anaconda3-2020.02-Linux-x86_64.sh, the Linux Python 3.7 64-Bit (x86) installer, that is currently at [1].

This to report the following error from the terminal command:
python3 -c "import oommfc; oommfc.test()"

Traceback (most recent call last):
File "", line 1, in
File "/home/username/anaconda3/envs/env4ubermag/lib/python3.6/site-packages/oommfc/init.py", line 3, in
import oommfc.oommf
File "/home/username/anaconda3/envs/env4ubermag/lib/python3.6/site-packages/oommfc/oommf/init.py", line 1, in
from .oommf import OOMMFRunner, TclOOMMFRunner, ExeOOMMFRunner,
File "/home/username/anaconda3/envs/env4ubermag/lib/python3.6/site-packages/oommfc/oommf/oommf.py", line 11, in
import micromagneticmodel as mm
File "/home/username/anaconda3/envs/env4ubermag/lib/python3.6/site-packages/micromagneticmodel/init.py", line 5, in
import micromagneticmodel.examples
File "/home/username/anaconda3/envs/env4ubermag/lib/python3.6/site-packages/micromagneticmodel/examples/init.py", line 1, in
from .examples import macrospin
File "/home/username/anaconda3/envs/env4ubermag/lib/python3.6/site-packages/micromagneticmodel/examples/examples.py", line 1, in
import discretisedfield as df
File "/home/username/anaconda3/envs/env4ubermag/lib/python3.6/site-packages/discretisedfield/init.py", line 12, in
dependencies = pkg_resources.require(name)
File "/home/username/.local/lib/python3.6/site-packages/pkg_resources/init.py", line 901, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/username/.local/lib/python3.6/site-packages/pkg_resources/init.py", line 792, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (tornado 6.0.1 (/home/username/.local/lib/python3.6/site-packages), Requirement.parse('tornado!=6.0.0,!=6.0.1,!=6.0.2'), {'jupyterlab'})

I'm able to workaround the error by using:

conda install tornado=6.0.2

However, it is failing with the above error with tornado 6.0.4 that gets installed using "conda install ubermag -c conda-forge".

[1] https://www.anaconda.com/products/individual

dynamics representation

hi
Is it possible to represent a system magnetization's dynamics in time instead of eg a dt.plot, like a video, in Ubermag?

thanks

same code different results...

I installed joommf in my computer and started running some tests by using two files from the tutorials provided in the joommf documentation. Tutorial 3 runs well and I get the same results as shown in the documentation. However, when I run Tutorial 12, the results look quite different. I do not get any warning or error message, the code runs without issues but the results differs from what is shown in the documentation.

Do you know what could be the source of such discrepancies?

Thanks,
Alex

Problems with multilayer antidot arrays

Hi Ubermag Team, congratulations on your excellent work!
I would like to simulate multilayer antidot arrays. For this I have defined a function that describes the position of the antidot in each layer and another function to define the initial magnetization. In the program, the number of layers is chosen, and the corresponding regions are created. It seems that everything works fine until I try to minimize the energy, at that moment oommf gives me an error in which I understand that there is a problem in the m0.mif file. Could you tell me what I have done wrong? Iโ€™m attaching my file.

multilayer.zip

Thank you very much in advance.

Annealing process

Dear,Ubermag team,
I know that temperature is generally not taken into account in micromagnetic simulations, but anneal is sometimes done when actually dealing with magnetic materials, and I have seen simulations using the Monte Carlo method in some places. Is this possible in Ubermag, and if so, can you tell me how to do it? Thank you for your help!

Installation and Testing Prob (test_oommf.py::test_get_oommf_runner FAILED)

I have faced a prob during testing.....
The prob is written below:

(base) PS C:\Users\Amrit Kumar Mondal> python -c "import oommfc; oommfc.test()"
================================================= test session starts =================================================
platform win32 -- Python 3.8.5, pytest-6.2.3, py-1.9.0, pluggy-0.13.1 -- C:\Users\Amrit Kumar Mondal\anaconda3\python.exe
cachedir: .pytest_cache
rootdir: C:\Users\Amrit Kumar Mondal
collected 83 items / 5 deselected / 78 selected

anaconda3/lib/site-packages/oommfc/tests/test_init.py::test_version PASSED [ 1%]
anaconda3/lib/site-packages/oommfc/tests/test_init.py::test_dependencies PASSED [ 2%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestCompute::test_energy PASSED [ 3%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestCompute::test_energy_density PASSED [ 5%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestCompute::test_effective_field PASSED [ 6%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestCompute::test_invalid_func PASSED [ 7%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestCompute::test_dmi PASSED [ 8%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestCubicAnisotropy::test_scalar_vector_vector PASSED [ 10%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestCubicAnisotropy::test_field_vector_vector PASSED [ 11%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestCubicAnisotropy::test_field_field_field PASSED [ 12%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestCubicAnisotropy::test_dict_vector_vector PASSED [ 14%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestDamping::test_scalar PASSED [ 15%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestDamping::test_dict PASSED [ 16%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestDamping::test_field PASSED [ 17%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestDemag::test_demag PASSED [ 19%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestDemag::test_demag_asymptotic_radius PASSED [ 20%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestDemag::test_demag_pbc PASSED [ 21%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestDMI::test_scalar PASSED [ 23%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestDMI::test_dict PASSED [ 24%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestDMI::test_crystalclass SKIPPED (Dif...) [ 25%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestDynamics::test_scalar_scalar PASSED [ 26%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestDynamics::test_scalar_dict PASSED [ 28%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestDynamics::test_field_field PASSED [ 29%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestEnergy::test_exchange_zeeman PASSED [ 30%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestEnergy::test_exchange_uniaxialanisotropy PASSED [ 32%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestEnergy::test_exchange_cubicanisotropy PASSED [ 33%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestEnergy::test_exchange_dmi_zeeman PASSED [ 34%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestEnergy::test_exchange_dmi_zeeman_uniaxialanisotropy_demag PASSED [ 35%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestExchange::test_scalar PASSED [ 37%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestExchange::test_dict PASSED [ 38%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestExchange::test_field PASSED [ 39%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::test_info_file PASSED [ 41%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestMesh::test_single_nopbc PASSED [ 42%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestMesh::test_multi_nopbc PASSED [ 43%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestMesh::test_single_pbc PASSED [ 44%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestMesh::test_multi_pbc PASSED [ 46%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestMinDriver::test_noevolver_nodriver PASSED [ 47%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestMinDriver::test_evolver_nodriver PASSED [ 48%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestMinDriver::test_noevolver_driver PASSED [ 50%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestMinDriver::test_evolver_driver PASSED [ 51%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestMinDriver::test_output_files PASSED [ 52%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestMinDriver::test_wrong_evolver PASSED [ 53%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::test_multiple_drives PASSED [ 55%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestPrecession::test_scalar PASSED [ 56%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestPrecession::test_dict PASSED [ 57%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestPrecession::test_field PASSED [ 58%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestRKKY::test_scalar PASSED [ 60%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestSlonczewski::test_single_values PASSED [ 61%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestSlonczewski::test_dict_values PASSED [ 62%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestSlonczewski::test_field_values PASSED [ 64%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::test_stdprob3 PASSED [ 65%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::test_stdprob4 PASSED [ 66%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::test_stdprob5 PASSED [ 67%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestTimeDriver::test_noevolver_nodriver PASSED [ 69%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestTimeDriver::test_rungekutta_evolver_nodriver PASSED [ 70%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestTimeDriver::test_euler_evolver_nodriver PASSED [ 71%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestTimeDriver::test_noevolver_driver PASSED [ 73%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestTimeDriver::test_noprecession PASSED [ 74%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestTimeDriver::test_nodamping PASSED [ 75%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestTimeDriver::test_output_files PASSED [ 76%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestTimeDriver::test_drive_exception PASSED [ 78%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestTimeDriver::test_wrong_evolver PASSED [ 79%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestUniaxialAnisotropy::test_scalar_vector PASSED [ 80%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestUniaxialAnisotropy::test_field_vector PASSED [ 82%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestUniaxialAnisotropy::test_scalar_field PASSED [ 83%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestUniaxialAnisotropy::test_field_field PASSED [ 84%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestUniaxialAnisotropy::test_dict_vector PASSED [ 85%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestUniaxialAnisotropy::test_field_dict PASSED [ 87%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestUniaxialAnisotropy::test_higher_order_scalar_vector PASSED [ 88%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestZeeman::test_vector PASSED [ 89%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestZeeman::test_dict PASSED [ 91%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestZeeman::test_field PASSED [ 92%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestZhangLi::test_scalar_scalar PASSED [ 93%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestZhangLi::test_dict_scalar PASSED [ 94%]
anaconda3/lib/site-packages/oommfc/tests/test_micromagnetictests.py::TestZhangLi::test_field_scalar PASSED [ 96%]
anaconda3/lib/site-packages/oommfc/tests/test_oommf.py::test_get_oommf_runner FAILED [ 97%]
anaconda3/lib/site-packages/oommfc/tests/test_oommf.py::test_overhead PASSED [ 98%]
anaconda3/lib/site-packages/oommfc/tests/test_oommf.py::test_runtimeerror PASSED [100%]

====================================================== FAILURES =======================================================
________________________________________________ test_get_oommf_runner ________________________________________________

def test_get_oommf_runner():
    # This is a shorter version of the previous test for testing on host.
    oommf_runner = oo.get_oommf_runner(use_cache=False)
    assert isinstance(oommf_runner, oo.OOMMFRunner)
  check_runner(oommf_runner)

C:\Users\Amrit Kumar Mondal\anaconda3\lib\site-packages\oommfc\tests\test_oommf.py:127:


C:\Users\Amrit Kumar Mondal\anaconda3\lib\site-packages\oommfc\tests\test_oommf.py:17: in check_runner
platform = runner.platform()
C:\Users\Amrit Kumar Mondal\anaconda3\lib\site-packages\oommfc\oommf\oommf.py:163: in platform
res = self.call(argstr='+platform', need_stderr=True)


self = <oommfc.oommf.oommf.TclOOMMFRunner object at 0x0000022CCCB30880>, argstr = '+platform', need_stderr = True

def call(self, argstr, need_stderr=False):
    """Calls OOMMF by passing ``argstr`` to OOMMF.

    Parameters
    ----------
    argstr : str

        Argument string passed to OOMMF.

    need_stderr : bool

        If ``need_stderr=True``, standard error is captured. Defaults to
        ``False``.

    Raises
    ------
    RuntimeError

        If an error occured.

    Returns
    -------
    int

        When the OOMMF run was successful, ``0`` is returned.

    Examples
    --------
    1. Getting OOMMF runner automatically and calling it.

    >>> import oommfc as oc
    ...
    >>> runner = oc.oommf.get_oommf_runner()
    >>> runner.call(argstr='+version')
    Running OOMMF...
    CompletedProcess(...)

    """
    now = datetime.datetime.now()
    timestamp = '{}/{:02d}/{:02d} {:02d}:{:02d}'.format(now.year,
                                                        now.month,
                                                        now.day,
                                                        now.hour,
                                                        now.minute)
    print(f'Running OOMMF ({self.__class__.__name__}) [{timestamp}]... ',
          end='')

    tic = time.time()
    res = self._call(argstr=argstr, need_stderr=need_stderr)
    self._kill()  # kill OOMMF (mostly needed on Windows)
    toc = time.time()
    seconds = '({:0.1f} s)'.format(toc - tic)
    print(seconds)  # append seconds to the previous print.

    if res.returncode != 0:
        if sys.platform != 'win32':
            # Only on Linux and MacOS - on Windows we do not get stderr and
            # stdout.
            stderr = res.stderr.decode('utf-8', 'replace')
            stdout = res.stdout.decode('utf-8', 'replace')
            cmdstr = ' '.join(res.args)
            print('OOMMF error:')
            print(f'\tcommand: {cmdstr}')
            print(f'\tstdout: {cmdstr}')
            print(f'\tstderr: {stderr}')
            print('\n')
      raise RuntimeError('Error in OOMMF run.')

E RuntimeError: Error in OOMMF run.

C:\Users\Amrit Kumar Mondal\anaconda3\lib\site-packages\oommfc\oommf\oommf.py:87: RuntimeError
------------------------------------------------ Captured stdout call -------------------------------------------------
Running OOMMF (TclOOMMFRunner) [2021/04/20 13:17]... Start: "C:/Users/Amrit Kumar Mondal/anaconda3/Lib/site-packages/oommfc/tests/test_sample/test_oommf.mif"
Options: -exitondone 1 -threads 2
Boxsi version 2.0a1
Running on: desktop-r5r9op4
OS/machine: Windows NT/amd64
User: Amrit Kumar Mondal PID: 10676
Number of threads: 2
Mesh geometry: 5 x 5 x 5 = 125 cells
Checkpoint file: C:/Users/Amrit Kumar Mondal/anaconda3/Lib/site-packages/oommfc/tests/test_sample/test_oommf.restart
Boxsi run end.
<1> mmarchive killed
<2> mmarchive killed
(9.1 s)
Running OOMMF (TclOOMMFRunner) [2021/04/20 13:17]... No OOMMF applications detected.
(No host server responding on host localhost, port 15136.)
(5.4 s)
Running OOMMF (TclOOMMFRunner) [2021/04/20 13:17]... No OOMMF applications detected.
(No host server responding on host localhost, port 15136.)
(5.5 s)
------------------------------------------------ Captured stderr call -------------------------------------------------
Logging to file "C:/Users/Amrit Kumar Mondal/anaconda3/opt/oommf/boxsi.errors"

[Boxsi<10676-desktop-r5r9op4-Amrit Kumar Mondal> 13:17:07.481 2021-04-20] 2.0a1 infolog:
Start: "C:/Users/Amrit Kumar Mondal/anaconda3/Lib/site-packages/oommfc/tests/test_sample/test_oommf.mif"
Options: -exitondone 1 -threads 2

[Boxsi<10676-desktop-r5r9op4-Amrit Kumar Mondal> 13:17:07.563 2021-04-20] 2.0a1 infolog:
Boxsi version 2.0a1
Running on: desktop-r5r9op4
OS/machine: Windows NT/amd64
User: Amrit Kumar Mondal PID: 10676
Number of threads: 2
Mesh geometry: 5 x 5 x 5 = 125 cells
Checkpoint file: C:/Users/Amrit Kumar Mondal/anaconda3/Lib/site-packages/oommfc/tests/test_sample/test_oommf.restart

[Boxsi<10676-desktop-r5r9op4-Amrit Kumar Mondal> 13:17:07.578 2021-04-20] 2.0a1 infolog:
Loaded "test_oommf.mif", CRC: 0xFF4E2751, 1004 bytes

[Boxsi<10676-desktop-r5r9op4-Amrit Kumar Mondal> 13:17:08.362 2021-04-20] 2.0a1 infolog:
End "test_oommf.mif"
================================================== warnings summary ===================================================
anaconda3\lib\site-packages\pyreadline\py3k_compat.py:8
C:\Users\Amrit Kumar Mondal\anaconda3\lib\site-packages\pyreadline\py3k_compat.py:8: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
return isinstance(x, collections.Callable)

anaconda3\lib\site-packages\oommfc\tests\test_oommf.py:33
C:\Users\Amrit Kumar Mondal\anaconda3\lib\site-packages\oommfc\tests\test_oommf.py:33: PytestUnknownMarkWarning: Unknown pytest.mark.travis - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.travis

anaconda3\lib\site-packages\oommfc\tests\test_oommf.py:44
C:\Users\Amrit Kumar Mondal\anaconda3\lib\site-packages\oommfc\tests\test_oommf.py:44: PytestUnknownMarkWarning: Unknown pytest.mark.travis - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.travis

anaconda3\lib\site-packages\oommfc\tests\test_oommf.py:56
C:\Users\Amrit Kumar Mondal\anaconda3\lib\site-packages\oommfc\tests\test_oommf.py:56: PytestUnknownMarkWarning: Unknown pytest.mark.docker - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.docker

anaconda3\lib\site-packages\oommfc\tests\test_oommf.py:78
C:\Users\Amrit Kumar Mondal\anaconda3\lib\site-packages\oommfc\tests\test_oommf.py:78: PytestUnknownMarkWarning: Unknown pytest.mark.travis - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.travis

anaconda3\lib\site-packages\oommfc\tests\test_oommf.py:130
C:\Users\Amrit Kumar Mondal\anaconda3\lib\site-packages\oommfc\tests\test_oommf.py:130: PytestUnknownMarkWarning: Unknown pytest.mark.travis - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.travis

anaconda3\lib\site-packages\oommfc\tests\test_oommf.py:145
C:\Users\Amrit Kumar Mondal\anaconda3\lib\site-packages\oommfc\tests\test_oommf.py:145: PytestUnknownMarkWarning: Unknown pytest.mark.travis - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.travis

-- Docs: https://docs.pytest.org/en/stable/warnings.html
=============================================== short test summary info ===============================================
FAILED anaconda3/lib/site-packages/oommfc/tests/test_oommf.py::test_get_oommf_runner - RuntimeError: Error in OOMMF run.

Default evolver for the time driver

hi
In the standard OOMMF distribution there are three evolvers for the time driver, to be selected: Oxs EulerEvolve, Oxs RungeKuttaEvolve, and Oxs SpinXferEvolve.

In Ubermag, which is the default used evolver if not specified when calling the time driver?

thank you in advance

Fixing magnetisation in a given region

Hello, I am pretty new to Ubermag but have used MuMax3 in my other research. I was wondering if there is a way to essentially fix the magnetisation in a particular region such that they do not evolve when I minimise the system? For example, if I have a square wire and I wanted to fix the two ends of the wire, randomise the centre of the wire, then relax the system so that a domain wall is forced to form in the wire. There is a function that can do this in MuMax3 called "FrozenSpins" but I have not been able to figure out how to do this same process in Ubermag (if it is even possible!). Thank you for taking the time to read my question/issue, and I'm really enjoying using Ubermag!

mumax3c

Hello, and thank you for a great introductory workshop session! I was wondering if you could tell me how I can begin working with mumax3c immediately rather than having to wait for the final lecture? In my research we do not use OOMMF, instead we exclusively use mumax3, but already I am seeing tremendous potential for my own work using Ubermag's Jupyter interface. I would like to start replicating and expanding on your introductory notebook code on my own however I cannot import the mumax3c package. Any help with this situation is greatly appreciated.

snapshots of vortex formation in a disc

Hello,
I am studying the for formation of magnetic vortices in a disc using ubermag. I could obtain the hysteris loop . But I am not able to visualise the magnetization configuration at each field using ubermag. How can I do it ? I s there any option for taking the snapshots at each field using ubermag?
Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.